diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2019-11-05 16:56:55 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2019-11-05 16:56:55 +0100 |
commit | 688ff0a0502de09115e883dc1a551ab6da13ae23 (patch) | |
tree | 83a51966e5e6ce0d4168f1c48e25a432eef01a3f /net-libs/libetpan/files | |
parent | net-libs/libetpan: Take over maintenance (diff) | |
download | gentoo-688ff0a0502de09115e883dc1a551ab6da13ae23.tar.gz gentoo-688ff0a0502de09115e883dc1a551ab6da13ae23.tar.bz2 gentoo-688ff0a0502de09115e883dc1a551ab6da13ae23.zip |
net-libs/libetpan: Bump to version 1.9.4
Attempt to fix berkdb detection
Bug: https://bugs.gentoo.org/519846
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'net-libs/libetpan/files')
-rw-r--r-- | net-libs/libetpan/files/libetpan-1.9.4-berkdb_lookup.patch | 28 | ||||
-rw-r--r-- | net-libs/libetpan/files/libetpan-1.9.4-pkgconfig_file_no_ldflags.patch | 24 |
2 files changed, 52 insertions, 0 deletions
diff --git a/net-libs/libetpan/files/libetpan-1.9.4-berkdb_lookup.patch b/net-libs/libetpan/files/libetpan-1.9.4-berkdb_lookup.patch new file mode 100644 index 000000000000..cfe0e8b5dc8c --- /dev/null +++ b/net-libs/libetpan/files/libetpan-1.9.4-berkdb_lookup.patch @@ -0,0 +1,28 @@ +From 1978a0d16bf7f14b863b208d55699b9f46918b7c Mon Sep 17 00:00:00 2001 +From: Lars Wendler <polynomial-c@gentoo.org> +Date: Tue, 5 Nov 2019 16:31:53 +0100 +Subject: [PATCH] configure.ac: Only check reasonable berkdb versions + +https://bugs.gentoo.org/519846 + +Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 542f3bb..8f1edba 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -414,7 +414,7 @@ dnl Look for db3 or superior with db_create call + case "$DBVERS" in + 3) + AC_MSG_RESULT([version 3.x or above]) +- for lib in db-6.0 db-5.3 db-5.1 db-5.0 db-4.8 db-4.7 db-4.6 db-4.5 db-4.4 db-4.3 db-4.2 db-4.1 db-4.0 db-4 db4 db-3.2 db-3 db3 db; do ++ for lib in db-6.2 db-6.1 db-6.0 db-5.3 db-5.1 db-5.0 db-4.8 db; do + if test "x$DBLINKED" = "x0"; then + dnl AC_CHECK_LIB($lib, db_create, [DBLIB="-l$lib"; DBLINKED=1], []) + dnl installations of libdb4 function names are defined in db.h +-- +2.24.0 + diff --git a/net-libs/libetpan/files/libetpan-1.9.4-pkgconfig_file_no_ldflags.patch b/net-libs/libetpan/files/libetpan-1.9.4-pkgconfig_file_no_ldflags.patch new file mode 100644 index 000000000000..8dcb7fd1dc5c --- /dev/null +++ b/net-libs/libetpan/files/libetpan-1.9.4-pkgconfig_file_no_ldflags.patch @@ -0,0 +1,24 @@ +From 92bbf41fee9b88bd76377bbeed98fdb848f4af09 Mon Sep 17 00:00:00 2001 +From: Lars Wendler <polynomial-c@gentoo.org> +Date: Tue, 5 Nov 2019 16:37:14 +0100 +Subject: [PATCH] libetpan.pc.in: Don't put user LDFLAGS into Libs + +Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> +--- + libetpan.pc.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libetpan.pc.in b/libetpan.pc.in +index cbc1d2c..e0dc774 100644 +--- a/libetpan.pc.in ++++ b/libetpan.pc.in +@@ -6,5 +6,5 @@ libdir=@libdir@ + Name: libetpan + Description: Libetpan C library. + Version: @VERSION@ +-Libs: -L${libdir} -letpan@LIBSUFFIX@ @LDFLAGS@ @SSLLIBS@ @GNUTLSLIB@ @LIBICONV@ @DBLIB@ @LIBS@ @SASLLIBS@ ++Libs: -L${libdir} -letpan@LIBSUFFIX@ @SSLLIBS@ @GNUTLSLIB@ @LIBICONV@ @DBLIB@ @LIBS@ @SASLLIBS@ + Cflags: -I${includedir} +-- +2.24.0 + |