diff options
author | is <is> | 2011-07-06 06:24:37 +0000 |
---|---|---|
committer | is <is> | 2011-07-06 06:24:37 +0000 |
commit | 30d2652c1dcb9786ffeb8e424f7dae8c8d2c3191 (patch) | |
tree | b1ca058fc8b2cf63b6b1b8730aa745b011e0ba5a /mail/mutt-devel/patches | |
parent | 2602b6dbd1b02f0678afa55771f87df4ff955d72 (diff) | |
download | pkgsrc-30d2652c1dcb9786ffeb8e424f7dae8c8d2c3191.tar.gz |
Don't compile those functions when using slang - they're not needed
and using an in this case undefined helper function.
Diffstat (limited to 'mail/mutt-devel/patches')
-rw-r--r-- | mail/mutt-devel/patches/patch-aq | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/mail/mutt-devel/patches/patch-aq b/mail/mutt-devel/patches/patch-aq index 50e33e63069..6c8113a834c 100644 --- a/mail/mutt-devel/patches/patch-aq +++ b/mail/mutt-devel/patches/patch-aq @@ -1,8 +1,8 @@ -$NetBSD: patch-aq,v 1.4 2009/08/09 20:05:37 tonnerre Exp $ +$NetBSD: patch-aq,v 1.5 2011/07/06 06:24:38 is Exp $ ---- /dev/null 2009-07-25 19:31:04.000000000 +0200 -+++ mvchgat.c 2009-07-25 19:30:48.000000000 +0200 -@@ -0,0 +1,25 @@ +--- mvchgat.c.orig 2011-07-05 08:47:10.596708000 +0000 ++++ mvchgat.c +@@ -0,0 +1,27 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif @@ -10,6 +10,7 @@ $NetBSD: patch-aq,v 1.4 2009/08/09 20:05:37 tonnerre Exp $ +#include "mutt.h" +#include "mutt_curses.h" + ++#ifndef USE_SLANG_CURSES +#ifndef HAVE_MVWCHGAT +int +mvwchgat(WINDOW *win, int y, int x, int count, attr_t attr, short color, @@ -28,3 +29,4 @@ $NetBSD: patch-aq,v 1.4 2009/08/09 20:05:37 tonnerre Exp $ + return mvwchgat(stdscr, y, x, count, attr, color, opts); +} +#endif ++#endif |