libassuan/libassuan.patch

Wed, 29 Aug 2012 21:07:12 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 29 Aug 2012 21:07:12 +0200
changeset 649
c44c510c1c7f
permissions
-rw-r--r--

Back out libexec substitution now longer correct, remove manpages correspoding
to not installed binaries, and most importantly avoid linking to
cats_dummy which serves no other purpose than to sabotage runtime
operations of all binaries calling db_init_database(3) with a fatal
error message 'Please replace this dummy libbaccats library with a
proper one.' Disabling libtool use resolves this problem in the build
configuration (probably in src/cats/Makefile.in.)

     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