diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 09:12:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 09:12:14 +0000 |
commit | df7f63aab569bad8c93469f5284356de55850b8f (patch) | |
tree | 6de37370bf2d3fda32c42472360e7fc01aa1f879 /debian/patches/avoid_db_by-default.patch | |
parent | Adding upstream version 1.6.3. (diff) | |
download | apr-util-debian.tar.xz apr-util-debian.zip |
Adding debian version 1.6.3-1.debian/1.6.3-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/avoid_db_by-default.patch')
-rw-r--r-- | debian/patches/avoid_db_by-default.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/debian/patches/avoid_db_by-default.patch b/debian/patches/avoid_db_by-default.patch new file mode 100644 index 0000000..712935c --- /dev/null +++ b/debian/patches/avoid_db_by-default.patch @@ -0,0 +1,35 @@ +From: Stefan Fritsch <sf@debian.org> +Subject: Make apu-config not output dbm libs by default. See #622081 + +--- apr-util.orig/apu-config.in ++++ apr-util/apu-config.in +@@ -32,7 +32,8 @@ INCLUDES="@APRUTIL_INCLUDES@" + LDFLAGS="@APRUTIL_LDFLAGS@" + ORIG_LDAP_LIBS="@LDADD_ldap@" + LDAP_LIBS="" +-DBM_LIBS="@LDADD_dbm_db@ @LDADD_dbm_gdbm@ @LDADD_dbm_ndbm@" ++ORIG_DBM_LIBS="@LDADD_dbm_db@ @LDADD_dbm_gdbm@ @LDADD_dbm_ndbm@" ++DBM_LIBS="" + + APRUTIL_LIBNAME="@APRUTIL_LIBNAME@" + +@@ -58,8 +59,8 @@ Known values for OPTION are: + --libs print library information + --avoid-ldap do not include ldap library information with --libs (default on Debian) + --ldap-libs print library information to link with ldap +- --avoid-dbm do not include DBM library information with --libs +- --dbm-libs print additional library information to link with DBM ++ --avoid-dbm do not include DBM library information with --libs (default on Debian) ++ --dbm-libs print library information to link with DBM + --srcdir print APR-util source directory + --link-ld print link switch(es) for linking to APR-util + --link-libtool print the libtool inputs for linking to APR-util +@@ -125,7 +126,7 @@ while test $# -gt 0; do + flags="$flags $ORIG_LDAP_LIBS" + ;; + --dbm-libs) +- flags="$flags $DBM_LIBS" ++ flags="$flags $ORIG_DBM_LIBS" + ;; + --includedir) + if test "$location" = "installed"; then |