libassuan/libassuan.patch

Wed, 08 Feb 2012 20:07:00 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 08 Feb 2012 20:07:00 +0200
changeset 588
300d43423c2e
permissions
-rw-r--r--

Update version, adapt patch, correct PID writing, correct build on newer
FreeBSD releases, and most importantly introduce new patch to try to
avoid segfault caused by multiple network interfaces with the same (or
no) address. This is common when configuring bridges and tunnels.

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