apr/apr.patch

Tue, 28 Aug 2012 18:28:35 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 28 Aug 2012 18:28:35 +0200
changeset 526
7ddfdb42afce
permissions
-rw-r--r--

Write a explicit dependency to pkgconfig file for getaddrinfo(3). The SVR4
dependencies libsocket and libnsl are needed by libgio and libglib at least,
and allow dependent software like gmime to build unmodified.

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