From a45cf06eefb009d407953cb742dea0d77bc1a926 Mon Sep 17 00:00:00 2001 From: jlam Date: Wed, 20 Jun 2001 06:04:53 +0000 Subject: Don't rely on redrawwin() in ncurses...use touchwin(),wrefresh() instead. Add patches to remove clearing of CFLAGS and LDFLAGS during configure process to preserve passed-in values. --- misc/iselect/distinfo | 6 ++++-- misc/iselect/patches/patch-aa | 11 +++++++---- misc/iselect/patches/patch-ab | 13 +++++++++++++ misc/iselect/patches/patch-ac | 13 +++++++++++++ 4 files changed, 37 insertions(+), 6 deletions(-) create mode 100644 misc/iselect/patches/patch-ab create mode 100644 misc/iselect/patches/patch-ac (limited to 'misc') diff --git a/misc/iselect/distinfo b/misc/iselect/distinfo index 2916b460a52..3bd825fdb1d 100644 --- a/misc/iselect/distinfo +++ b/misc/iselect/distinfo @@ -1,5 +1,7 @@ -$NetBSD: distinfo,v 1.2 2001/04/20 13:52:13 agc Exp $ +$NetBSD: distinfo,v 1.3 2001/06/20 06:04:53 jlam Exp $ SHA1 (iselect-1.2.0.tar.gz) = 42fcd53f0477a92e39ab370c438586dc46826436 Size (iselect-1.2.0.tar.gz) = 74244 bytes -SHA1 (patch-aa) = eb484508d29e0f5ac3307ed18de6992b4ebd19ac +SHA1 (patch-aa) = 3a92d9379753689d221300c51d86efadd00e971b +SHA1 (patch-ab) = 97f8c402a994341bf555582929152d78edcb3e64 +SHA1 (patch-ac) = e100b569f69ba7641b1a73801c24e25c5bfbf958 diff --git a/misc/iselect/patches/patch-aa b/misc/iselect/patches/patch-aa index 5000ce1407b..cbad54d6a29 100644 --- a/misc/iselect/patches/patch-aa +++ b/misc/iselect/patches/patch-aa @@ -1,13 +1,16 @@ -$NetBSD: patch-aa,v 1.1.1.1 2001/02/14 11:44:22 jtb Exp $ +$NetBSD: patch-aa,v 1.2 2001/06/20 06:04:54 jlam Exp $ ---- iselect_browse.c.orig Tue Feb 13 13:38:50 2001 +--- iselect_browse.c.orig Wed Mar 31 01:42:49 1999 +++ iselect_browse.c -@@ -758,7 +758,7 @@ +@@ -758,9 +758,10 @@ nRelLastDraw = nAbsLastLine-nAbsFirstLine; strcpy(msg, ""); iSelect_Draw(wField, wYSize, wXSize, wYPos, wXPos, nAbsFirstLine, nAbsLastLine, nRelMarked, nRelFirstDraw, nRelLastDraw, nLines, sField, title, name, mField, msg, tagbegin, tagend); -#ifndef USE_SLCURSES -+#ifdef USE_NCURSES ++#ifdef USE_SLCURSES redrawwin(wField); #endif ++ touchwin(wField); wrefresh(wField); + } + else { diff --git a/misc/iselect/patches/patch-ab b/misc/iselect/patches/patch-ab new file mode 100644 index 00000000000..53ddbc4e191 --- /dev/null +++ b/misc/iselect/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1 2001/06/20 06:04:54 jlam Exp $ + +--- configure.orig Wed Mar 31 01:45:41 1999 ++++ configure +@@ -859,8 +859,6 @@ + + else + x=disabled +-CFLAGS="-O2" +-LDFLAGS="" + debug=off + + fi diff --git a/misc/iselect/patches/patch-ac b/misc/iselect/patches/patch-ac new file mode 100644 index 00000000000..3dc2dbff812 --- /dev/null +++ b/misc/iselect/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1 2001/06/20 06:04:54 jlam Exp $ + +--- configure.in.orig Wed Mar 31 01:37:26 1999 ++++ configure.in +@@ -29,8 +29,6 @@ + debug=on + , + x=disabled +-CFLAGS="-O2" +-LDFLAGS="" + debug=off + )dnl + AC_SUBST(debug) -- cgit v1.2.3