summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Vroon <chainsaw@gentoo.org>2017-07-25 23:31:18 +0100
committerTony Vroon <chainsaw@gentoo.org>2017-07-25 23:31:18 +0100
commit61e7f2fa40106c4af4cfddcc8d9ff9f8a52f95b9 (patch)
tree6ae89a5e7a021624178c4941450096a168d38a74 /mail-filter/maildrop
parentdev-libs/msgpack: fix building with GCC-6. (diff)
downloadgentoo-61e7f2fa40106c4af4cfddcc8d9ff9f8a52f95b9.tar.gz
gentoo-61e7f2fa40106c4af4cfddcc8d9ff9f8a52f95b9.tar.bz2
gentoo-61e7f2fa40106c4af4cfddcc8d9ff9f8a52f95b9.zip
mail-filter/maildrop: Unbreak testsuite patch, closes bug #617992 by Ooblick.
Package-Manager: portage-2.3.6
Diffstat (limited to 'mail-filter/maildrop')
-rw-r--r--mail-filter/maildrop/files/maildrop-testsuite-r3.patch (renamed from mail-filter/maildrop/files/maildrop-testsuite-r2.patch)28
-rw-r--r--mail-filter/maildrop/maildrop-2.8.3.ebuild2
-rw-r--r--mail-filter/maildrop/maildrop-2.8.5.ebuild2
-rw-r--r--mail-filter/maildrop/maildrop-2.9.0.ebuild2
4 files changed, 17 insertions, 17 deletions
diff --git a/mail-filter/maildrop/files/maildrop-testsuite-r2.patch b/mail-filter/maildrop/files/maildrop-testsuite-r3.patch
index 479a8f5fceaf..fd6d729370a0 100644
--- a/mail-filter/maildrop/files/maildrop-testsuite-r2.patch
+++ b/mail-filter/maildrop/files/maildrop-testsuite-r3.patch
@@ -1,5 +1,6 @@
---- libs/maildrop/configure.ac 2015-06-27 17:55:08.000000000 +0000
-+++ libs/maildrop/configure.ac 2015-09-22 05:23:33.000000000 +0000
+diff -uNr maildrop-2.8.3.ORIG/libs/maildrop/configure.ac maildrop-2.8.3/libs/maildrop/configure.ac
+--- maildrop-2.8.3.ORIG/libs/maildrop/configure.ac 2017-07-25 22:49:44.044032091 +0100
++++ maildrop-2.8.3/libs/maildrop/configure.ac 2017-07-25 22:50:48.205113368 +0100
@@ -195,6 +195,15 @@
AC_DEFINE_UNQUOTED(MAXLONGSIZE, $MAXLONGSIZE,
[ Maximum character size of a long ])
@@ -16,9 +17,10 @@
dnl Checks for library functions.
AC_FUNC_CLOSEDIR_VOID
---- libs/maildrop/Makefile.am 2015-06-27 17:55:08.000000000 +0000
-+++ libs/maildrop/Makefile.am 2015-09-22 05:24:29.000000000 +0000
-@@ -75,9 +75,13 @@
+diff -uNr maildrop-2.8.3.ORIG/libs/maildrop/Makefile.am maildrop-2.8.3/libs/maildrop/Makefile.am
+--- maildrop-2.8.3.ORIG/libs/maildrop/Makefile.am 2017-07-25 22:49:44.054032259 +0100
++++ maildrop-2.8.3/libs/maildrop/Makefile.am 2017-07-25 22:51:13.335536823 +0100
+@@ -75,9 +75,11 @@
maildrop.lsm testsuite.txt.idn testsuite.txt.noidn testsuite2
check-am:
@@ -26,14 +28,13 @@
@chmod +x testsuite
./testsuite | cmp -s - $(srcdir)/$(TESTSUITE)
@SHELL@ $(srcdir)/testsuite2
-+else
-+ echo ' Need en_US.utf8 to run tests'
+endif
noinst_DATA=maildrop.html maildrop.1 maildropfilter.html maildropfilter.7 \
maildropgdbm.html maildropgdbm.7
---- libs/rfc2045/configure.ac 2014-02-16 09:00:13.000000000 +0000
-+++ libs/rfc2045/configure.ac 2015-09-22 05:28:18.000000000 +0000
+diff -uNr maildrop-2.8.3.ORIG/libs/rfc2045/configure.ac maildrop-2.8.3/libs/rfc2045/configure.ac
+--- maildrop-2.8.3.ORIG/libs/rfc2045/configure.ac 2017-07-25 22:49:44.054032259 +0100
++++ maildrop-2.8.3/libs/rfc2045/configure.ac 2017-07-25 22:50:48.205113368 +0100
@@ -60,6 +60,15 @@
AC_CHECK_FUNC(strncasecmp,,CFLAGS="$CFLAGS -Dstrncasecmp=strnicmp")
AC_CHECK_FUNC(strcasecmp,,CFLAGS="$CFLAGS -Dstrcasecmp=stricmp")
@@ -50,9 +51,10 @@
AC_ARG_WITH(package, [], package="$withval",
[
package="$PACKAGE"
---- libs/rfc2045/Makefile.am 2015-02-28 17:59:41.000000000 +0000
-+++ libs/rfc2045/Makefile.am 2015-09-22 05:29:08.000000000 +0000
-@@ -76,6 +76,10 @@
+diff -uNr maildrop-2.8.3.ORIG/libs/rfc2045/Makefile.am maildrop-2.8.3/libs/rfc2045/Makefile.am
+--- maildrop-2.8.3.ORIG/libs/rfc2045/Makefile.am 2017-07-25 22:49:44.054032259 +0100
++++ maildrop-2.8.3/libs/rfc2045/Makefile.am 2017-07-25 22:51:26.555759572 +0100
+@@ -76,6 +76,8 @@
endif
check-am:
@@ -60,6 +62,4 @@
@SHELL@ $(srcdir)/testsuite | cmp -s - $(srcdir)/$(TESTSUITE)
@SHELL@ $(srcdir)/testsuitemm | cmp -s - $(srcdir)/testsuitemm.txt
@SHELL@ $(srcdir)/testrfc3676parsersuite | diff -U 3 $(srcdir)/testrfc3676parsersuite.txt -
-+else
-+ echo ' Need en_US.utf8 to run tests'
+endif
diff --git a/mail-filter/maildrop/maildrop-2.8.3.ebuild b/mail-filter/maildrop/maildrop-2.8.3.ebuild
index df6a2e2ea4f2..eddb63a2c957 100644
--- a/mail-filter/maildrop/maildrop-2.8.3.ebuild
+++ b/mail-filter/maildrop/maildrop-2.8.3.ebuild
@@ -60,7 +60,7 @@ src_prepare() {
's~AC_MSG_ERROR(Cannot determine default mailbox)~SPOOLDIR="./.maildir"~' \
"${S}"/libs/maildrop/configure.ac || die "sed failed"
- epatch "${FILESDIR}"/${PN}-testsuite-r2.patch
+ epatch "${FILESDIR}"/${PN}-testsuite-r3.patch
eautoreconf
}
diff --git a/mail-filter/maildrop/maildrop-2.8.5.ebuild b/mail-filter/maildrop/maildrop-2.8.5.ebuild
index 708cb9ef7354..965ee203aedb 100644
--- a/mail-filter/maildrop/maildrop-2.8.5.ebuild
+++ b/mail-filter/maildrop/maildrop-2.8.5.ebuild
@@ -60,7 +60,7 @@ src_prepare() {
's~AC_MSG_ERROR(Cannot determine default mailbox)~SPOOLDIR="./.maildir"~' \
"${S}"/libs/maildrop/configure.ac || die "sed failed"
- epatch "${FILESDIR}"/${PN}-testsuite-r2.patch
+ epatch "${FILESDIR}"/${PN}-testsuite-r3.patch
eapply_user
eautoreconf
}
diff --git a/mail-filter/maildrop/maildrop-2.9.0.ebuild b/mail-filter/maildrop/maildrop-2.9.0.ebuild
index bd60d9562349..c3afde7b5982 100644
--- a/mail-filter/maildrop/maildrop-2.9.0.ebuild
+++ b/mail-filter/maildrop/maildrop-2.9.0.ebuild
@@ -60,7 +60,7 @@ src_prepare() {
's~AC_MSG_ERROR(Cannot determine default mailbox)~SPOOLDIR="./.maildir"~' \
"${S}"/libs/maildrop/configure.ac || die "sed failed"
- epatch "${FILESDIR}"/${PN}-testsuite-r2.patch
+ epatch "${FILESDIR}"/${PN}-testsuite-r3.patch
eapply_user
eautoreconf
}