From f34a81fd320599ab34976312463e7021de4a189b Mon Sep 17 00:00:00 2001 From: Bill Fumerola Date: Tue, 25 Jan 2000 01:32:42 +0000 Subject: Patches to fix curses use in -STABLE. Broken by: billf Submitted by: jhb Apologies to: maintainer --- misc/delay/files/patch-ab | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 misc/delay/files/patch-ab (limited to 'misc/delay/files/patch-ab') diff --git a/misc/delay/files/patch-ab b/misc/delay/files/patch-ab new file mode 100644 index 000000000000..521cb82742f4 --- /dev/null +++ b/misc/delay/files/patch-ab @@ -0,0 +1,44 @@ +--- configure.orig Sun Jan 23 23:57:09 2000 ++++ configure Mon Jan 24 00:06:51 2000 +@@ -1501,14 +1501,14 @@ + fi + + +-echo $ac_n "checking for initscr in -lcurses""... $ac_c" 1>&6 +-echo "configure:1506: checking for initscr in -lcurses" >&5 +-ac_lib_var=`echo curses'_'initscr | sed 'y%./+-%__p_%'` ++echo $ac_n "checking for initscr in -lncurses""... $ac_c" 1>&6 ++echo "configure:1506: checking for initscr in -lncurses" >&5 ++ac_lib_var=`echo ncurses'_'initscr | sed 'y%./+-%__p_%'` + if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else + ac_save_LIBS="$LIBS" +-LIBS="-lcurses $LIBS" ++LIBS="-lncurses $LIBS" + cat > conftest.$ac_ext <&6 +- ac_tr_lib=HAVE_LIB`echo curses | sed -e 's/[^a-zA-Z0-9_]/_/g' \ ++ ac_tr_lib=HAVE_LIB`echo ncurses | sed -e 's/[^a-zA-Z0-9_]/_/g' \ + -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` + cat >> confdefs.h <&6 + fi + +-for ac_hdr in curses.h ++for ac_hdr in ncurses.h + do + ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` + echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -- cgit v1.2.3