diff options
author | Sergey A. Osokin <osa@FreeBSD.org> | 2003-06-09 08:35:43 +0000 |
---|---|---|
committer | Sergey A. Osokin <osa@FreeBSD.org> | 2003-06-09 08:35:43 +0000 |
commit | d96c72a9d6d57fdd8d27de48f1acdb7fe46ba365 (patch) | |
tree | 70bb6721988d52b7470399a4bf9a02cb6e9608bb /mail/mutt-devel | |
parent | update japanese/tkhonyaku 1.7 --> 1.8 (diff) |
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/mutt-devel')
-rw-r--r-- | mail/mutt-devel/Makefile | 6 | ||||
-rw-r--r-- | mail/mutt-devel/files/extra-patch-quote | 11 |
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); + } |