diff options
author | jlam <jlam> | 2001-06-20 04:44:59 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-06-20 04:44:59 +0000 |
commit | 610fad31e65f917038ad92fe60ba44578ebba811 (patch) | |
tree | ea8874a2c312bbbef931d8a45577d880f55730c4 /net/tn5250/patches | |
parent | 562d86e75f711aae7ee701451ef342db79901a14 (diff) | |
download | pkgsrc-610fad31e65f917038ad92fe60ba44578ebba811.tar.gz |
Convert to use buildlink.mk files for ncurses dependency. Remove
check for __NetBSD__ and refer to ncurses header as <ncurses.h>.
Diffstat (limited to 'net/tn5250/patches')
-rw-r--r-- | net/tn5250/patches/patch-aa | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/net/tn5250/patches/patch-aa b/net/tn5250/patches/patch-aa index a2c3be876dc..457149984fc 100644 --- a/net/tn5250/patches/patch-aa +++ b/net/tn5250/patches/patch-aa @@ -1,17 +1,17 @@ -$NetBSD: patch-aa,v 1.3 2001/02/08 13:46:04 wiz Exp $ +$NetBSD: patch-aa,v 1.4 2001/06/20 04:45:00 jlam Exp $ ---- cursesterm.cc.orig Mon Apr 5 18:25:45 1999 +--- cursesterm.cc.orig Mon Apr 5 12:25:45 1999 +++ cursesterm.cc -@@ -19,13 +19,23 @@ +@@ -19,13 +19,22 @@ #include "config.h" #include <assert.h> #include <sys/time.h> -+#ifdef __NetBSD__ -+#include <ncurses.h> +-#include <curses.h> ++#include <sys/param.h> ++#if (defined(BSD) && BSD >= 199306) +#include <unistd.h> -+#else - #include <curses.h> +#endif ++#include <ncurses.h> #include <string.h> #include <ctype.h> #include "utility.h" |