tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: mutt-devel patch for options:slang -curses -ncurses -ncursesw
Has this fix been tried on systems other than solaris (well, ones where
slang curses is used)?
Thanks,
Alistair
On Tue, Jul 05, 2011 at 12:41:57PM +0200, is%NetBSD.org@localhost wrote:
> Hi,
>
> to compile mutt-devel for slang -curses -ncurses -ncursesw (I need that
> on Solaris 10), I need this patch - else I get a linking error complaining
> about wattr_set being undefined.
>
> May I apply?
>
> -is
>
>
> Index: patches/patch-aq
> ===================================================================
> RCS file: /cvsroot/pkgsrc/mail/mutt-devel/patches/patch-aq,v
> retrieving revision 1.4
> diff -u -r1.4 patch-aq
> --- patches/patch-aq 9 Aug 2009 20:05:37 -0000 1.4
> +++ patches/patch-aq 5 Jul 2011 10:38:16 -0000
> @@ -1,8 +1,8 @@
> -$NetBSD: patch-aq,v 1.4 2009/08/09 20:05:37 tonnerre Exp $
> +$NetBSD$
>
> ---- /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 @@
> +#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 @@
> + return mvwchgat(stdscr, y, x, count, attr, color, opts);
> +}
> +#endif
> ++#endif
Home |
Main Index |
Thread Index |
Old Index