Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Nov 2019 11:56:20 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r518222 - in head/mail/mailutils: . files
Message-ID:  <201911231156.xANBuKhV074018@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Sat Nov 23 11:56:20 2019
New Revision: 518222
URL: https://svnweb.freebsd.org/changeset/ports/518222

Log:
  Unbreak the test suite and hook it to our framework.
  
  Submitted by:	maintainer
  Obtained from:	upstream

Added:
  head/mail/mailutils/files/git-de640c83e9   (contents, props changed)
Modified:
  head/mail/mailutils/Makefile

Modified: head/mail/mailutils/Makefile
==============================================================================
--- head/mail/mailutils/Makefile	Sat Nov 23 11:35:41 2019	(r518221)
+++ head/mail/mailutils/Makefile	Sat Nov 23 11:56:20 2019	(r518222)
@@ -8,7 +8,7 @@ CATEGORIES=	mail
 MASTER_SITES=	GNU GNU_ALPHA
 
 EXTRA_PATCHES=	${FILESDIR}/git-018df5d:-p1 \
-		${FILESDIR}/git-113e144:-p1
+		${FILESDIR}/git-113e144:-p1 files/git-de640c83e9:-p1
 
 MAINTAINER=	zeus@gnu.org.ua
 COMMENT=	Utilities, daemons, and filters for processing e-mail
@@ -22,6 +22,7 @@ GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 USE_RC_SUBR=	comsatd imap4d pop3d
 INSTALL_TARGET=	install-strip
+TEST_TARGET=	check
 
 PLIST_SUB+=	LIBVERSION=6.0.0 LIBSUFX=6 VERSION=${PORTVERSION}
 

Added: head/mail/mailutils/files/git-de640c83e9
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/mailutils/files/git-de640c83e9	Sat Nov 23 11:56:20 2019	(r518222)
@@ -0,0 +1,27 @@
+From de640c83e991622e5c2164535eee899b792c7feb Mon Sep 17 00:00:00 2001
+From: Sergey Poznyakoff <gray@gnu.org>
+Date: Sat, 23 Nov 2019 12:13:45 +0200
+Subject: Bugfix in libmailutils testsuite
+
+* libmailutils/tests/decode2047.at: Deduce charset from the input.
+---
+ libmailutils/tests/decode2047.at | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/libmailutils/tests/decode2047.at b/libmailutils/tests/decode2047.at
+index b00ba57..701b9bf 100644
+--- a/libmailutils/tests/decode2047.at
++++ b/libmailutils/tests/decode2047.at
+@@ -21,7 +21,8 @@ dnl
+ m4_pushdef([TESTDEC2047],[
+ m4_pushdef([MU_TEST_GROUP],[Decode 2047])
+ m4_pushdef([MU_TEST_KEYWORDS],[decode2047 decode])
+-m4_pushdef([MU_TEST_COMMAND],[decode2047 -p])
++m4_pushdef([MU_TEST_COMMAND],[decode2047 -p -c]dnl
++ m4_bpatsubst([$3],[=\?\([^?]+\)\?.*],[\1]))
+ MU_GENERIC_TEST([$1],[$2],[$3],[],[$4],[$5])
+ m4_popdef([MU_TEST_COMMAND])
+ m4_popdef([MU_TEST_KEYWORDS])
+-- 
+cgit v1.0-41-gc330
+



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911231156.xANBuKhV074018>