summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorfredb <fredb@pkgsrc.org>2001-02-09 18:10:10 +0000
committerfredb <fredb@pkgsrc.org>2001-02-09 18:10:10 +0000
commit8dad7b36557ba187208460f3470a2abc75223fef (patch)
tree2d22ce71f5be3512a73b5374203968fe980318bc /www
parent96f3e3ed34082b7792e00400222176921d155ebf (diff)
downloadpkgsrc-8dad7b36557ba187208460f3470a2abc75223fef.tar.gz
Make LYNX_SCREEN_LIB=curses build again on NetBSD-1.4.3 and older.
Diffstat (limited to 'www')
-rw-r--r--www/lynx-current/files/patch-sum4
-rw-r--r--www/lynx-current/patches/patch-ac26
2 files changed, 21 insertions, 9 deletions
diff --git a/www/lynx-current/files/patch-sum b/www/lynx-current/files/patch-sum
index 016eb1e68ca..0772635fc1f 100644
--- a/www/lynx-current/files/patch-sum
+++ b/www/lynx-current/files/patch-sum
@@ -1,6 +1,6 @@
-$NetBSD: patch-sum,v 1.5 2001/02/08 19:52:03 fredb Exp $
+$NetBSD: patch-sum,v 1.6 2001/02/09 18:10:10 fredb Exp $
MD5 (patch-aa) = 6cbf38885526260607e8ccc12a454d2e
-MD5 (patch-ac) = ec10e0f1cc88c81237e75262dce63d6f
+MD5 (patch-ac) = 70114ce158b8cfcc3a1e6fd38a00fd45
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 949b57b7f5a..442c9517274 100644
--- a/www/lynx-current/patches/patch-ac
+++ b/www/lynx-current/patches/patch-ac
@@ -1,13 +1,25 @@
-$NetBSD: patch-ac,v 1.1 2000/11/01 17:33:44 itojun Exp $
+$NetBSD: patch-ac,v 1.2 2001/02/09 18:10:10 fredb Exp $
---- src/LYCurses.c- Thu Nov 2 02:31:16 2000
-+++ src/LYCurses.c Thu Nov 2 02:31:26 2000
-@@ -1453,6 +1453,5 @@
- /* touchline() is not available on VMS before version 7.0, and then only on
+--- 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 @@
+ wredrawln(stdscr, row, 1);
+ #else
+ #if defined(HAVE_TOUCHLINE)
+- /* touchline() is not available on VMS before version 7.0, and then only on
- * Alpha, since prior ports of curses were broken. BSD touchline() has a
- * 4th parameter since it is used internally by touchwin().
-+ * Alpha, since prior ports of curses were broken.
++ /* touchline() is not available on VMS before version 7.0, and then
++ * only on Alpha, since prior ports of curses were broken. Traditional
++ * BSD touchline() had a 4th parameter which was used internally by
++ * touchwin(), but NetBSD dropped that in version 1.5 when it moved
++ * to a SysV-like curses.
*/
-- touchline(stdscr, row, 1, 0);
++#if defined(__NetBSD_Version__) && __NetBSD_Version__ >= 104250000
+ touchline(stdscr, row, 1);
++#else
+ touchline(stdscr, row, 1, 0);
++#endif
#else
+ #if !defined(USE_SLANG)
+ touchwin(stdscr);