From dbf7f88113b15fa2dae9fe59892bd54d46a9009d Mon Sep 17 00:00:00 2001 From: Viktor Baluch Date: Mon, 1 Nov 2010 19:26:00 +0100 Subject: Fixed GnuPG DNS resolution bug Applies the patch https://bugs.g10code.com/gnupg/file313/stable-1-4.diff from https://bugs.g10code.com/gnupg/issue1292 to configure.ac and runs autoconf to generate a new configure script. Signed-off-by: Adam Vandenberg --- Library/Formula/gnupg.rb | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) (limited to 'Library') diff --git a/Library/Formula/gnupg.rb b/Library/Formula/gnupg.rb index 46739939d..579708881 100644 --- a/Library/Formula/gnupg.rb +++ b/Library/Formula/gnupg.rb @@ -10,6 +10,12 @@ class Gnupg DATA} + end + def options [["--idea", "Build with (patented) IDEA cipher"]] end @@ -22,6 +28,8 @@ class Gnupg ++#include ++#include ++#include ], ++[[unsigned char answer[PACKETSZ]; res_query("foo.bar",C_IN,T_A,answer,PACKETSZ); dn_skipname(0,0); dn_expand(0,0,0,0,0);]])],[have_resolver=yes ; need_compat=yes]) ++ AC_MSG_RESULT($have_resolver) ++ fi + fi + + if test x"$have_resolver" = xyes ; then +Index: ChangeLog +=================================================================== +--- ChangeLog (revision 5458) ++++ ChangeLog (working copy) +@@ -1,3 +1,7 @@ ++2010-10-19 Peter Gerdes ++ ++ * configure.ac: Add test to see if -lresolv needs to be added to DNSLIBS to enable DNS resolution on OS X ++ + 2010-10-18 Werner Koch + + Release 1.4.11. -- cgit v1.2.3