diff options
author | fredb <fredb@pkgsrc.org> | 2001-02-10 06:19:51 +0000 |
---|---|---|
committer | fredb <fredb@pkgsrc.org> | 2001-02-10 06:19:51 +0000 |
commit | 8800983aa0ef5271bdfec0bf4f0121f23bf98a4f (patch) | |
tree | bb8bb6be3befcf25d79409df58d5e21cce9e3b3b /www/lynx-current | |
parent | d9cadfc845f9c050bb4f1722288e21ceb752a499 (diff) | |
download | pkgsrc-8800983aa0ef5271bdfec0bf4f0121f23bf98a4f.tar.gz |
__NetBSD_Version__ needs <sys/param.h>.
Diffstat (limited to 'www/lynx-current')
-rw-r--r-- | www/lynx-current/files/patch-sum | 4 | ||||
-rw-r--r-- | www/lynx-current/patches/patch-ac | 19 |
2 files changed, 17 insertions, 6 deletions
diff --git a/www/lynx-current/files/patch-sum b/www/lynx-current/files/patch-sum index 0772635fc1f..c327a1c133c 100644 --- a/www/lynx-current/files/patch-sum +++ b/www/lynx-current/files/patch-sum @@ -1,6 +1,6 @@ -$NetBSD: patch-sum,v 1.6 2001/02/09 18:10:10 fredb Exp $ +$NetBSD: patch-sum,v 1.7 2001/02/10 06:19:51 fredb Exp $ MD5 (patch-aa) = 6cbf38885526260607e8ccc12a454d2e -MD5 (patch-ac) = 70114ce158b8cfcc3a1e6fd38a00fd45 +MD5 (patch-ac) = a476f5a2b64916f4e679881c25da75bb MD5 (patch-ad) = f90d7b543fce9491af13faf73a2a611c MD5 (patch-ae) = d2b3513288722f670351c84adef88c8e diff --git a/www/lynx-current/patches/patch-ac b/www/lynx-current/patches/patch-ac index 442c9517274..e1cc9e08bac 100644 --- a/www/lynx-current/patches/patch-ac +++ b/www/lynx-current/patches/patch-ac @@ -1,8 +1,19 @@ -$NetBSD: patch-ac,v 1.2 2001/02/09 18:10:10 fredb Exp $ +$NetBSD: patch-ac,v 1.3 2001/02/10 06:19:52 fredb Exp $ --- src/LYCurses.c.orig Mon Jan 1 19:39:50 2001 -+++ src/LYCurses.c Fri Feb 9 10:30:10 2001 -@@ -1418,11 +1418,17 @@ ++++ src/LYCurses.c Fri Feb 9 23:33:47 2001 +@@ -1408,6 +1408,10 @@ + #endif /* FANCY_CURSES || USE_SLANG */ + } + ++#ifdef HAVE_SYS_PARAM_H ++#include <sys/param.h> ++#endif ++ + /* + * Accommodate the different flavors of touchline + */ +@@ -1418,11 +1422,17 @@ wredrawln(stdscr, row, 1); #else #if defined(HAVE_TOUCHLINE) @@ -15,7 +26,7 @@ $NetBSD: patch-ac,v 1.2 2001/02/09 18:10:10 fredb Exp $ + * touchwin(), but NetBSD dropped that in version 1.5 when it moved + * to a SysV-like curses. */ -+#if defined(__NetBSD_Version__) && __NetBSD_Version__ >= 104250000 ++#if defined(NCURSES) || (defined(__NetBSD_Version__) && __NetBSD_Version__ >= 104250000) + touchline(stdscr, row, 1); +#else touchline(stdscr, row, 1, 0); |