apr/apr.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@485 1 Index: apr-util-1.4.1/apu-config.in
michael@485 2 --- apr-util-1.4.1/apu-config.in.orig 2010-11-26 15:21:37.000000000 +0100
michael@485 3 +++ apr-util-1.4.1/apu-config.in 2011-12-14 09:09:13.000000000 +0100
michael@485 4 @@ -27,7 +27,7 @@
michael@485 5 libdir="@libdir@"
michael@485 6 includedir="@includedir@"
michael@485 7
michael@485 8 -LIBS="@APRUTIL_EXPORT_LIBS@"
michael@485 9 +LIBS="@APRUTIL_EXPORT_LIBS@ @LIBS@"
michael@485 10 INCLUDES="@APRUTIL_INCLUDES@"
michael@485 11 LDFLAGS="@APRUTIL_LDFLAGS@"
michael@485 12 LDAP_LIBS="@LDADD_ldap@"
michael@485 13 Index: apr-util-1.4.1/include/private/apu_select_dbm.h.in
michael@485 14 --- apr-util-1.4.1/include/private/apu_select_dbm.h.in.orig 2007-01-15 20:00:58.000000000 +0100
michael@485 15 +++ apr-util-1.4.1/include/private/apu_select_dbm.h.in 2011-12-14 09:09:13.000000000 +0100
michael@485 16 @@ -25,4 +25,9 @@
michael@485 17 #define APU_USE_GDBM @apu_use_gdbm@
michael@485 18 #define APU_USE_DB @apu_use_db@
michael@485 19
michael@485 20 +#define APU_HAVE_SDBM @apu_have_sdbm@
michael@485 21 +#define APU_HAVE_NDBM @apu_have_ndbm@
michael@485 22 +#define APU_HAVE_GDBM @apu_have_gdbm@
michael@485 23 +#define APU_HAVE_DB @apu_have_db@
michael@485 24 +
michael@485 25 #endif /* !APU_SELECT_DBM_H */

mercurial