libassuan/libassuan.patch

Tue, 28 Aug 2012 18:32:05 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 28 Aug 2012 18:32:05 +0200
changeset 552
e568963742d6
permissions
-rw-r--r--

Correct detection of GCC sync_fetch_and_add atomic builtins, update the
version, modernize packaging, add new prompts, and correct sound paths.
The vendor configure script checks for sync_fetch_and_add and reports
success because strangely GCC only fails when returning the return value
of the builtin function in the consumer function.

     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