libassuan/libassuan.patch

Wed, 30 Mar 2011 19:35:16 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 30 Mar 2011 19:35:16 +0200
changeset 335
6eb79a12ee37
permissions
-rw-r--r--

Finally correct packaging logic enough to allow for successful building:
Force Java dependency to C++ and POSIX threads to satisfy buildtime
requirements of GCJ, add conditional java dependency to infozip as
required by libjava/configure, remove outdated fortran conditions,
correct buildconf causing jcf-dump target to fail, add and improve
warnings regarding profile feedback, build duration, and parallel
make, correct make environment when building C++ dependent languages,
and introduce new helpful comments.

     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.1/src/libassuan-config.in
    17 --- libassuan-2.0.1/src/libassuan-config.in.orig	2006-10-09 12:41:47 +0200
    18 +++ libassuan-2.0.1/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