summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorshattered <shattered>2011-02-16 19:19:28 +0000
committershattered <shattered>2011-02-16 19:19:28 +0000
commit009cc237dcbdba302bc6b4c2b878b3fca17d2b6a (patch)
tree0120cdc726606f02460f1b1d864d84d964c8fd51 /print
parent65ef83c845a483283e481a1f6f1cbbc73475e57c (diff)
downloadpkgsrc-009cc237dcbdba302bc6b4c2b878b3fca17d2b6a.tar.gz
PR/36612 -- properly highlight folded header lines in mail messages.
Diffstat (limited to 'print')
-rw-r--r--print/enscript/Makefile4
-rw-r--r--print/enscript/distinfo3
-rw-r--r--print/enscript/patches/patch-ai15
3 files changed, 19 insertions, 3 deletions
diff --git a/print/enscript/Makefile b/print/enscript/Makefile
index 491e686389b..98d0afe59b7 100644
--- a/print/enscript/Makefile
+++ b/print/enscript/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.43 2009/02/25 18:44:30 drochner Exp $
+# $NetBSD: Makefile,v 1.44 2011/02/16 19:19:28 shattered Exp $
#
DISTNAME= enscript-1.6.4
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= print
MASTER_SITES= http://www.iki.fi/mtr/genscript/
diff --git a/print/enscript/distinfo b/print/enscript/distinfo
index 2be870657a0..e41f1c62f2e 100644
--- a/print/enscript/distinfo
+++ b/print/enscript/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.9 2009/02/25 18:44:30 drochner Exp $
+$NetBSD: distinfo,v 1.10 2011/02/16 19:19:28 shattered Exp $
SHA1 (enscript-1.6.4.tar.gz) = 9dd7128a508d4c9671659b9520028d12add50cfa
RMD160 (enscript-1.6.4.tar.gz) = 9050728f14500f0360c5a4e258cba0646694bfeb
@@ -11,3 +11,4 @@ SHA1 (patch-ae) = 311ee615f231adbeece251606617065d306249ac
SHA1 (patch-af) = ae3f6a37dab2ac1b5d95288555eeef5a25660547
SHA1 (patch-ag) = aab78f9f1c9bc35f45d44498f0eec7c3ad82e33c
SHA1 (patch-ah) = 6188dec56487a211b7028fdaf40e88aa14bccaf1
+SHA1 (patch-ai) = 141be819aa31212fe6edaf22e003a44864ff5fcb
diff --git a/print/enscript/patches/patch-ai b/print/enscript/patches/patch-ai
new file mode 100644
index 00000000000..af5a00ef5e6
--- /dev/null
+++ b/print/enscript/patches/patch-ai
@@ -0,0 +1,15 @@
+$NetBSD: patch-ai,v 1.1 2011/02/16 19:19:28 shattered Exp $
+
+Highlight folded header lines properly (PR 36612)
+
+--- states/hl/mail.st.orig 2003-03-05 08:26:33.000000000 +0100
++++ states/hl/mail.st 2007-07-05 09:08:04.000000000 +0200
+@@ -27,7 +27,7 @@ state mail_header extends Highlight
+ END {
+ comment_face (true);
+ }
+- /:/ {
++ /(:|^[ \t])/ {
+ language_print ($0);
+ return;
+ }