diff options
Diffstat (limited to 'editors/joe/patches/patch-ac')
-rw-r--r-- | editors/joe/patches/patch-ac | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/editors/joe/patches/patch-ac b/editors/joe/patches/patch-ac new file mode 100644 index 00000000000..def4f703cb4 --- /dev/null +++ b/editors/joe/patches/patch-ac @@ -0,0 +1,24 @@ +$NetBSD: patch-ac,v 1.7 2011/03/29 21:38:26 roy Exp $ + +--- termcap.c 2011-03-29 22:25:48.000000000 +0100 ++++ termcap.c 2011-03-29 22:30:35.000000000 +0100 +@@ -8,16 +8,9 @@ + #include "types.h" + + #ifdef TERMINFO +- +-#ifdef HAVE_CURSES_H +-#include <curses.h> +-#endif +-/* curses has to come before term.h on SGI */ +-#ifdef HAVE_TERM_H +-/* term.h is a disaster: it #defines 'tab' */ +-#include <term.h> +-#endif +- ++/* Even though we may configure and test for terminfo and curses ++ * we actually only use termcap */ ++#include <termcap.h> + #endif + + int dopadding = 0; |