pkgsrc/mail/mutt-devel/patches/patch-ah
apb 79835b2355 Add two patches:
* On some systems, curses.h defines TRUE and FALSE, so conditionalise
  them in lib.h to avoid compiler complaints about duplicate definitions.
* mutt_curses.h refers to event_t from mutt.h, and SHORT_STRING from lib.h,
  so include those headers fom mutt_curses.h.

These patches allow mutt-devel to build on NetBSD-5.99.15.

Bump PKGREVISION to 1.
2009-08-10 14:18:12 +00:00

17 lines
418 B
Text

$NetBSD: patch-ah,v 1.3 2009/08/10 14:18:12 apb Exp $
mutt_curses.h refers to event_t from mutt,h, and SHORT_STRING from lib.h,
so include those headers here.
--- mutt_curses.h.orig 2008-11-11 21:55:47.000000000 +0200
+++ mutt_curses.h
@@ -52,6 +52,9 @@
# include <curses.h>
#endif
+#include "lib.h" /* for SHORT_STRING */
+#include "mutt.h" /* for event_t */
+
#define M_ENTER_C '\n'
#define M_ENTER_S "\n"