summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mail-filter/maildrop/files/maildrop-testsuite-r3.patch')
-rw-r--r--mail-filter/maildrop/files/maildrop-testsuite-r3.patch65
1 files changed, 0 insertions, 65 deletions
diff --git a/mail-filter/maildrop/files/maildrop-testsuite-r3.patch b/mail-filter/maildrop/files/maildrop-testsuite-r3.patch
deleted file mode 100644
index fd6d729370a..00000000000
--- a/mail-filter/maildrop/files/maildrop-testsuite-r3.patch
+++ /dev/null
@@ -1,65 +0,0 @@
-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 ])
-
-+dnl check for en_US locale
-+check_en_US() {
-+locale -a | grep en_US.utf8 > /dev/null
-+return $?
-+}
-+AC_MSG_CHECKING([for en_US.utf8])
-+AM_CONDITIONAL([HAS_EN_US], [check_en_US])
-+AM_COND_IF([HAS_EN_US],[AC_MSG_RESULT([yes])],[AC_MSG_RESULT([not found])])
-+
- dnl Checks for library functions.
-
- AC_FUNC_CLOSEDIR_VOID
-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:
-+if HAS_EN_US
- @chmod +x testsuite
- ./testsuite | cmp -s - $(srcdir)/$(TESTSUITE)
- @SHELL@ $(srcdir)/testsuite2
-+endif
-
- noinst_DATA=maildrop.html maildrop.1 maildropfilter.html maildropfilter.7 \
- maildropgdbm.html maildropgdbm.7
-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")
-
-+dnl check for en_US locale
-+check_en_US() {
-+locale -a | grep en_US.utf8 > /dev/null
-+return $?
-+}
-+AC_MSG_CHECKING([for en_US.utf8])
-+AM_CONDITIONAL([HAS_EN_US], [check_en_US])
-+AM_COND_IF([HAS_EN_US],[AC_MSG_RESULT([yes])],[AC_MSG_RESULT([not found])])
-+
- AC_ARG_WITH(package, [], package="$withval",
- [
- package="$PACKAGE"
-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:
-+if HAS_EN_US
- @SHELL@ $(srcdir)/testsuite | cmp -s - $(srcdir)/$(TESTSUITE)
- @SHELL@ $(srcdir)/testsuitemm | cmp -s - $(srcdir)/testsuitemm.txt
- @SHELL@ $(srcdir)/testrfc3676parsersuite | diff -U 3 $(srcdir)/testrfc3676parsersuite.txt -
-+endif