summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2020-03-23 14:51:07 +0300
committerEray Aslan <eras@gentoo.org>2020-03-23 14:51:07 +0300
commit900e16dc46161a5dfd12fc84f42cabfbf3e4ec98 (patch)
tree368e8b987c97ea1e2ecf18de364754d24c5d3604 /net-mail/mailutils/files
parentmedia-sound/lollypop: Remove 1.2.25 (diff)
downloadgentoo-900e16dc46161a5dfd12fc84f42cabfbf3e4ec98.tar.gz
gentoo-900e16dc46161a5dfd12fc84f42cabfbf3e4ec98.tar.bz2
gentoo-900e16dc46161a5dfd12fc84f42cabfbf3e4ec98.zip
net-mail/mailutils: bump to 3.9
Package-Manager: Portage-2.3.95, Repoman-2.3.21 Signed-off-by: Eray Aslan <eras@gentoo.org>
Diffstat (limited to 'net-mail/mailutils/files')
-rw-r--r--net-mail/mailutils/files/mailutils-3.9-python-config.patch27
-rw-r--r--net-mail/mailutils/files/mailutils-3.9-underlinking.patch11
2 files changed, 38 insertions, 0 deletions
diff --git a/net-mail/mailutils/files/mailutils-3.9-python-config.patch b/net-mail/mailutils/files/mailutils-3.9-python-config.patch
new file mode 100644
index 000000000000..5a2ecdd2aec2
--- /dev/null
+++ b/net-mail/mailutils/files/mailutils-3.9-python-config.patch
@@ -0,0 +1,27 @@
+From 5e3463bf6b5deb8ab5c6dffc6792a0a9a3bd7890 Mon Sep 17 00:00:00 2001
+From: Jordi Mallach <jordi@debian.org>
+Date: Sun, 22 Mar 2020 19:58:31 +0100
+Subject: Call $PYTHON_CONFIG instead of pyhon-config.
+
+---
+ configure.ac | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 6946a1aa6..4c089555a 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -1218,8 +1218,8 @@ if test "$status_python" = yes; then
+ esac
+
+ # See https://docs.python.org/dev/whatsnew/3.8.html#debug-build-uses-the-same-abi-as-release-build
+- PYTHON_LIBS=`python-config --libs --embed 2>/dev/null` || \
+- PYTHON_LIBS=`python-config --libs`
++ PYTHON_LIBS=`$PYTHON_CONFIG --libs --embed 2>/dev/null` || \
++ PYTHON_LIBS=`$PYTHON_CONFIG --libs`
+ PYTHON_INCLUDES=`$PYTHON_CONFIG --includes`
+ else
+ status_python=no
+--
+cgit v1.2.1
+
diff --git a/net-mail/mailutils/files/mailutils-3.9-underlinking.patch b/net-mail/mailutils/files/mailutils-3.9-underlinking.patch
new file mode 100644
index 000000000000..a7992aff9462
--- /dev/null
+++ b/net-mail/mailutils/files/mailutils-3.9-underlinking.patch
@@ -0,0 +1,11 @@
+--- a/configure.ac 2020-03-23 14:09:46.662589298 +0300
++++ b/configure.ac 2020-03-23 14:12:36.191030873 +0300
+@@ -958,7 +958,7 @@
+ AC_CHECK_LIB(ldap, ldap_bind,[
+ status_ldap=yes
+ AC_DEFINE(WITH_LDAP, 1, [Define to 1 if you want to use -lldap])
+- MU_AUTHLIBS="${MU_AUTHLIBS}${MU_AUTHLIBS:+ }-lldap"],
++ MU_AUTHLIBS="${MU_AUTHLIBS}${MU_AUTHLIBS:+ }-lldap -llber"],
+ [status_ldap=no])
+ fi
+