summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorjlam <jlam>2004-09-12 04:26:20 +0000
committerjlam <jlam>2004-09-12 04:26:20 +0000
commitc240fcc04cec8f5228891135eb452a4e6f6ad44e (patch)
tree9532c60e105503b4f01201aa166874d3fcaf1a17 /mail
parentc0f1c9676d787e47a2e034aa07feac8f2cc3d222 (diff)
downloadpkgsrc-c240fcc04cec8f5228891135eb452a4e6f6ad44e.tar.gz
Avoid using ncurses functions when using S-Lang as the curses library.
Fix from PR pkg/26758 by Holger Weiss.
Diffstat (limited to 'mail')
-rw-r--r--mail/mutt-devel/distinfo3
-rw-r--r--mail/mutt-devel/patches/patch-am26
2 files changed, 28 insertions, 1 deletions
diff --git a/mail/mutt-devel/distinfo b/mail/mutt-devel/distinfo
index 1cb75816c2d..ad09ca04300 100644
--- a/mail/mutt-devel/distinfo
+++ b/mail/mutt-devel/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.18 2004/08/05 03:24:39 jlam Exp $
+$NetBSD: distinfo,v 1.19 2004/09/12 04:26:20 jlam Exp $
SHA1 (mutt-1.5.6i.tar.gz) = 5b3ea613abeff4007fadc38946806aee2f225f48
Size (mutt-1.5.6i.tar.gz) = 2910730 bytes
@@ -9,3 +9,4 @@ SHA1 (patch-ag) = ebfeb5c03770501f7e7cc918ec2c56ddc2f1ed1d
SHA1 (patch-ah) = 4227c5768b900e58fa4a679e6ad67efc974a70b5
SHA1 (patch-ai) = e9a872cdde09dfae012d63a475f100e8be70acb5
SHA1 (patch-al) = e645a9daf6d439292a83bb196b19bede3fa046e1
+SHA1 (patch-am) = 8fb3b3d4b387af9f7ada3c7752a9501a08b47319
diff --git a/mail/mutt-devel/patches/patch-am b/mail/mutt-devel/patches/patch-am
new file mode 100644
index 00000000000..eba6e4f17f6
--- /dev/null
+++ b/mail/mutt-devel/patches/patch-am
@@ -0,0 +1,26 @@
+$NetBSD: patch-am,v 1.1 2004/09/12 04:26:20 jlam Exp $
+
+--- menu.c.orig Sun Feb 1 12:10:57 2004
++++ menu.c
+@@ -38,7 +38,9 @@ static void print_enriched_string (int a
+ size_t k;
+ size_t n = mutt_strlen ((char *)s);
+ mbstate_t mbstate;
++#ifndef USE_SLANG_CURSES
+ short f1, f2, b1, b2;
++#endif
+
+ memset (&mbstate, 0, sizeof (mbstate));
+ while (*s)
+@@ -47,9 +49,11 @@ static void print_enriched_string (int a
+ {
+ if (do_color)
+ {
++#ifndef USE_SLANG_CURSES
+ pair_content(PAIR_NUMBER(ColorDefs[MT_COLOR_TREE]), &f1, &b1);
+ pair_content(PAIR_NUMBER(attr), &f2, &b2);
+ if (b1 == b2)
++#endif
+ SETCOLOR (MT_COLOR_TREE);
+ }
+ while (*s && *s < M_TREE_MAX)