openpkg/make.patch

Sat, 21 Feb 2009 16:39:01 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 21 Feb 2009 16:39:01 +0100
changeset 107
2f8ffdf7658b
child 250
bda4f5eec616
permissions
-rw-r--r--

Patch gnupg and its dependency gcrypt to accept use of the IDEA cipher.
This effort seems to be flawed, as runtime tests of generating a
revokation certificate for a IDEA encrypted key were inconclusive.
Suspicion rests on a flawed implementation or patch logic.

     1 Index: glob/glob.c
     2 --- glob/glob.c.orig	2006-03-10 03:20:45 +0100
     3 +++ glob/glob.c	2006-04-01 19:09:18 +0200
     4 @@ -216,13 +216,13 @@
     5  #  ifdef HAVE_ALLOCA_H
     6  #   include <alloca.h>
     7  #  else	/* Not HAVE_ALLOCA_H.  */
     8 -#   ifndef _AIX
     9 +#   if !defined (_AIX) && !defined (__FreeBSD__)
    10  #    ifdef WINDOWS32
    11  #     include <malloc.h>
    12  #    else
    13  extern char *alloca ();
    14  #    endif /* WINDOWS32 */
    15 -#   endif /* Not _AIX.  */
    16 +#   endif /* Not _AIX && not __FreeBSD__.  */
    17  #  endif /* sparc or HAVE_ALLOCA_H.  */
    18  # endif	/* GCC.  */
    20 Index: make.h
    21 --- make.h.orig	2006-02-16 00:54:43 +0100
    22 +++ make.h	2006-04-01 19:09:18 +0200
    23 @@ -31,7 +31,7 @@
    24  #  ifdef _AIX
    25   #pragma alloca
    26  #  else
    27 -#   ifndef alloca /* predefined by HP cc +Olibcalls */
    28 +#   if !defined (alloca) && !defined (__FreeBSD__) /* predefined by HP cc +Olibcalls, part of stdlib.h on FreeBSD */
    29  char *alloca ();
    30  #   endif
    31  #  endif

mercurial