gnupg/gnupg.patch

Thu, 08 Jan 2009 18:28:40 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 08 Jan 2009 18:28:40 +0100
changeset 45
d2954f86e9e6
child 107
2f8ffdf7658b
permissions
-rw-r--r--

Depend on sed, grep, and binutils, because libtool hard codes values.
This unfortunate dependency change is necessary because the main
program script calls helper tools from hard coded paths. Please
see /pfx/bin/libtool:77 for the example SED="/pfx/bin/sed".

michael@30 1 Index: agent/genkey.c
michael@30 2 --- agent/genkey.c.orig 2007-11-19 16:11:31 +0100
michael@30 3 +++ agent/genkey.c 2007-12-21 09:17:46 +0100
michael@30 4 @@ -188,11 +188,9 @@
michael@30 5 return gpg_error (GPG_ERR_INV_PASSPHRASE);
michael@30 6
michael@30 7 desc = xtryasprintf
michael@30 8 - ( ngettext ("Warning: You have entered an insecure passphrase.%%0A"
michael@30 9 + ( "Warning: You have entered an insecure passphrase.%%0A"
michael@30 10 "A passphrase should be at least %u character long.",
michael@30 11 - "Warning: You have entered an insecure passphrase.%%0A"
michael@30 12 - "A passphrase should be at least %u characters long.",
michael@30 13 - minlen), minlen );
michael@30 14 + minlen);
michael@30 15 if (!desc)
michael@30 16 return gpg_error_from_syserror ();
michael@30 17 err = take_this_one_anyway (ctrl, desc);
michael@30 18 Index: configure
michael@30 19 --- configure.orig 2007-12-20 09:40:04 +0100
michael@30 20 +++ configure 2007-12-21 09:08:55 +0100
michael@30 21 @@ -6909,13 +6909,13 @@
michael@30 22 # Check wether it is necessary to link against libdl.
michael@30 23 #
michael@30 24 gnupg_dlopen_save_libs="$LIBS"
michael@30 25 -LIBS=""
michael@30 26 { echo "$as_me:$LINENO: checking for library containing dlopen" >&5
michael@30 27 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6; }
michael@30 28 if test "${ac_cv_search_dlopen+set}" = set; then
michael@30 29 echo $ECHO_N "(cached) $ECHO_C" >&6
michael@30 30 else
michael@30 31 ac_func_search_save_LIBS=$LIBS
michael@30 32 + LIBS=""
michael@30 33 cat >conftest.$ac_ext <<_ACEOF
michael@30 34 /* confdefs.h. */
michael@30 35 _ACEOF

mercurial