gnupg/gnupg.patch

changeset 30
3839a3a70f72
child 107
2f8ffdf7658b
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gnupg/gnupg.patch	Wed Jan 07 22:13:49 2009 +0100
     1.3 @@ -0,0 +1,35 @@
     1.4 +Index: agent/genkey.c
     1.5 +--- agent/genkey.c.orig	2007-11-19 16:11:31 +0100
     1.6 ++++ agent/genkey.c	2007-12-21 09:17:46 +0100
     1.7 +@@ -188,11 +188,9 @@
     1.8 +         return gpg_error (GPG_ERR_INV_PASSPHRASE);
     1.9 + 
    1.10 +       desc = xtryasprintf 
    1.11 +-        ( ngettext ("Warning: You have entered an insecure passphrase.%%0A"
    1.12 ++        (           "Warning: You have entered an insecure passphrase.%%0A"
    1.13 +                     "A passphrase should be at least %u character long.", 
    1.14 +-                    "Warning: You have entered an insecure passphrase.%%0A"
    1.15 +-                    "A passphrase should be at least %u characters long.", 
    1.16 +-                    minlen), minlen );
    1.17 ++                    minlen);
    1.18 +       if (!desc)
    1.19 +         return gpg_error_from_syserror ();
    1.20 +       err = take_this_one_anyway (ctrl, desc);
    1.21 +Index: configure
    1.22 +--- configure.orig	2007-12-20 09:40:04 +0100
    1.23 ++++ configure	2007-12-21 09:08:55 +0100
    1.24 +@@ -6909,13 +6909,13 @@
    1.25 + # Check wether it is necessary to link against libdl.
    1.26 + #
    1.27 + gnupg_dlopen_save_libs="$LIBS"
    1.28 +-LIBS=""
    1.29 + { echo "$as_me:$LINENO: checking for library containing dlopen" >&5
    1.30 + echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6; }
    1.31 + if test "${ac_cv_search_dlopen+set}" = set; then
    1.32 +   echo $ECHO_N "(cached) $ECHO_C" >&6
    1.33 + else
    1.34 +   ac_func_search_save_LIBS=$LIBS
    1.35 ++  LIBS=""
    1.36 + cat >conftest.$ac_ext <<_ACEOF
    1.37 + /* confdefs.h.  */
    1.38 + _ACEOF

mercurial