summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/lynx-current/distinfo3
-rw-r--r--www/lynx-current/patches/patch-ab23
2 files changed, 25 insertions, 1 deletions
diff --git a/www/lynx-current/distinfo b/www/lynx-current/distinfo
index 5d8bea82cbd..65c3306a1c0 100644
--- a/www/lynx-current/distinfo
+++ b/www/lynx-current/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2002/05/04 17:06:48 fredb Exp $
+$NetBSD: distinfo,v 1.5 2002/08/21 12:01:04 blymn Exp $
SHA1 (lynx2.8.5dev.7.tar.bz2) = 8e9eb4bf11944c24517e99ec0ef76b203022c5fe
Size (lynx2.8.5dev.7.tar.bz2) = 1966524 bytes
SHA1 (patch-aa) = 8935e11ef53dc6a686b2fc19359aa2db7fffc226
+SHA1 (patch-ab) = 5f683f4cf53582db6b2cbc8e37f840a6e51e3345
SHA1 (patch-ae) = 116b1a797f52b214c125dd362ed1161bab78313f
diff --git a/www/lynx-current/patches/patch-ab b/www/lynx-current/patches/patch-ab
new file mode 100644
index 00000000000..418ef218bfa
--- /dev/null
+++ b/www/lynx-current/patches/patch-ab
@@ -0,0 +1,23 @@
+$NetBSD: patch-ab,v 1.3 2002/08/21 12:01:04 blymn Exp $
+
+--- src/LYCurses.c.orig Wed Aug 21 21:16:48 2002
++++ src/LYCurses.c
+@@ -564,9 +564,7 @@ PUBLIC void curses_style ARGS2(
+ }
+ #endif /* USE_COLOR_STYLE */
+
+-#ifndef USE_SLANG
+ PRIVATE BOOL lynx_called_initscr = FALSE;
+-#endif
+
+ #if defined(HAVE_USE_DEFAULT_COLORS) && defined(USE_DEFAULT_COLORS)
+ /*
+@@ -1274,7 +1272,7 @@ PUBLIC void stop_curses NOARGS
+ lynx_nl2crlf(TRUE);
+ lynx_enable_mouse (0);
+ #if (!defined(WIN_EX) || defined(__CYGWIN__)) /* @@@ */
+- if(LYscreen) {
++ if(LYscreen || lynx_called_initscr) {
+ endwin(); /* stop curses */
+ LYDELSCR();
+ }