aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2003-06-09 16:35:43 +0800
committerosa <osa@FreeBSD.org>2003-06-09 16:35:43 +0800
commitcda23a5c445dce8f0b914e416e4cf9269e1610db (patch)
tree75b25c1724ac28d2746785e9a809bb70389bbcc0 /mail
parent30246056ed50cb1ce2fd50d17a62ec11d699ca09 (diff)
downloadfreebsd-ports-gnome-cda23a5c445dce8f0b914e416e4cf9269e1610db.tar.gz
freebsd-ports-gnome-cda23a5c445dce8f0b914e416e4cf9269e1610db.tar.zst
freebsd-ports-gnome-cda23a5c445dce8f0b914e416e4cf9269e1610db.zip
Fix output of pgp-mails for WITH_MUTT_QUOTE_PATCH
Also bump PORTREVISION Submitted by: MAINTAINER PR: 53040 Approved by: fjoe (mentor)
Diffstat (limited to 'mail')
-rw-r--r--mail/mutt-devel/Makefile6
-rw-r--r--mail/mutt-devel/files/extra-patch-quote11
2 files changed, 16 insertions, 1 deletions
diff --git a/mail/mutt-devel/Makefile b/mail/mutt-devel/Makefile
index c4954f47661f..703c246e6f8c 100644
--- a/mail/mutt-devel/Makefile
+++ b/mail/mutt-devel/Makefile
@@ -75,7 +75,7 @@
PORTNAME= mutt-devel
PORTVERSION= 1.5.4
-PORTREVISION?= 2
+PORTREVISION?= 3
CATEGORIES+= mail ipv6
.if defined(WITH_MUTT_NNTP)
CATEGORIES+= news
@@ -275,6 +275,10 @@ SCRIPTS_ENV+= MUTT_PGP_PATCH="yes"
.if ! defined(WITHOUT_MUTT_HTML)
SCRIPTS_ENV+= MUTT_HTML="yes"
.endif
+.if ! defined(WITHOUT_MUTT_QUOTE_PATCH)
+post-patch::
+ ${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-quote
+.endif
.if !defined(NOPORTDOCS)
SCRIPTS_ENV+= MUTT_PORTDOCS="yes"
diff --git a/mail/mutt-devel/files/extra-patch-quote b/mail/mutt-devel/files/extra-patch-quote
new file mode 100644
index 000000000000..e2a0b05a12ec
--- /dev/null
+++ b/mail/mutt-devel/files/extra-patch-quote
@@ -0,0 +1,11 @@
+--- muttlib.c.orig Sun Jun 8 10:37:06 2003
++++ muttlib.c Sun Jun 8 10:37:58 2003
+@@ -1236,7 +1236,7 @@
+ strcpy (buf + j + 1, Quotebuf + j);
+ }
+ else
+- snprintf (buf, sizeof (buf), "%s%s", s->prefix, Quotebuf);
++ snprintf (buf, sizeof (buf), "%s%s", NONULL(s->prefix), Quotebuf);
+
+ state_puts (buf, s);
+ }