libassuan/libassuan.patch

Sat, 01 Sep 2012 12:17:10 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 01 Sep 2012 12:17:10 +0200
changeset 653
9d74c60eb90e
permissions
-rw-r--r--

Back out attempt to repair gets(3) redefinition and correct rather by
avoiding detection of gets(3) as a method with no macro, otherwise
leading to definition of HAVE_RAW_DECL_GETS and redefition of gets(3)
in lib/stdio.h(.in) caused by 'a split double-inclusion guard' and
a seemingly multiple '#include_next <stdio.h>' reference. Quatch.

     1 Index: libassuan-1.0.5/src/libassuan-config.in
     2 --- libassuan-1.0.5/src/libassuan-config.in.orig	2006-10-09 12:41:47 +0200
     3 +++ libassuan-1.0.5/src/libassuan-config.in	2006-11-15 20:25:37 +0100
     4 @@ -105,6 +105,11 @@
     5    esac
     6    shift
     7  done
     8 +    
     9 +if test "x${thread_module}" = "x-pth"; then
    10 +    cflags="$cflags `$prefix/bin/pth-config --cflags`"
    11 +    extralibs="$extralibs `$prefix/bin/pth-config --libs`"
    12 +fi
    14  if test "$echo_prefix" = "yes"; then
    15      echo $prefix
    16 Index: libassuan-2.0.3/src/libassuan-config.in
    17 --- libassuan-2.0.3/src/libassuan-config.in.orig	2006-10-09 12:41:47 +0200
    18 +++ libassuan-2.0.3/src/libassuan-config.in	2006-11-15 20:25:37 +0100
    19 @@ -105,6 +105,11 @@
    20    esac
    21    shift
    22  done
    23 +    
    24 +if test "x${thread_module}" = "x-pth"; then
    25 +    cflags="$cflags `$prefix/bin/pth-config --cflags`"
    26 +    extralibs="$extralibs `$prefix/bin/pth-config --libs`"
    27 +fi
    29  if test "$echo_prefix" = "yes"; then
    30      echo $prefix

mercurial