libassuan/libassuan.patch

Fri, 07 Sep 2012 19:08:07 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 07 Sep 2012 19:08:07 +0200
changeset 667
9dacbd1d1aa2
permissions
-rw-r--r--

Correct build configuration in Solaris subdir, correct english grammar,
remove irrelevant strip notice, introduce custom CFLAG logic, facilitate
use of Solaris Studio compiler with needed build configuration
adjustments, conditionally build 64 bit position independent code,
and accommodate tun(7) in newer Solaris releases by renaming driver
and module from conflicting 'tun' to 'vtun'. These changes include
some nonstandard 'I give up' logic causing out of tree builds by
manipulating the PATH, for example.

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

mercurial