aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorThomas Tanner2015-04-18 20:19:13 +0200
committerMike McQuaid2015-04-19 10:59:00 +0100
commita19003d604ee05b799126d63e4f3bc703ee35e71 (patch)
treee5752286e0fa34d6c7ce558aa54d8d46cad518a8 /Library
parentb03fd47cc816b674f98f67eb322db8a60626c2c9 (diff)
downloadhomebrew-a19003d604ee05b799126d63e4f3bc703ee35e71.tar.bz2
dirmngr: fix segmentation fault.
Closes #32969. Closes #38795. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/dirmngr.rb8
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