diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/dirmngr.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Library/Formula/dirmngr.rb b/Library/Formula/dirmngr.rb index f80ab8de5..f184013e3 100644 --- a/Library/Formula/dirmngr.rb +++ b/Library/Formula/dirmngr.rb @@ -18,6 +18,13 @@ class Dirmngr < Formula depends_on "libksba" depends_on "pth" + patch :p0 do + # patch by upstream developer to fix an API incompatibility with libgcrypt >=1.6.0 + # causing immediate segfault in dirmngr. see http://bugs.g10code.com/gnupg/issue1590 + url "http://bugs.g10code.com/gnupg/file419/dirmngr-pth-fix.patch" + sha256 "0efbcf1e44177b3546fe318761c3386a11310a01c58a170ef60df366e5160beb" + end + def install system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}", @@ -28,5 +35,6 @@ class Dirmngr < Formula test do system "dirmngr-client", "--help" + system "dirmngr", "--help" end end |
