summaryrefslogtreecommitdiff
path: root/www/lynx-current/patches/patch-aa
blob: a7dd08be30a73c5de5595db018962d8a7967f414 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
$NetBSD: patch-aa,v 1.2 2000/05/09 00:55:00 fredb Exp $

--- configure.orig	Sat Apr 22 20:16:38 2000
+++ configure	Mon May  8 19:27:11 2000
@@ -5666,7 +5666,7 @@
   LIBS="$LIBS -L$cf_cv_use_libsocks"
   ;;
 esac
-LIBS="$LIBS -lsocks"
+LIBS="$LIBS -lsocks4"
 cat >> confdefs.h <<\EOF
 #define SOCKS 1
 EOF
@@ -6597,7 +6597,10 @@
 echo "$ac_t""$cf_cv_screen" 1>&6
 
 case $cf_cv_screen in
-ncurses|slang)
+ncurses)
+	cf_cv_ncurses_header=ncurses.h
+	;;
+slang)
 	;;
 pdcurses)
 	cf_cv_ncurses_header=xcurses.h
@@ -7171,6 +7174,12 @@
 
 case $cf_cv_ncurses_header in # (vi
 */ncurses.h)
+	cat >> confdefs.h <<\EOF
+#define HAVE_NCURSES_H 1
+EOF
+
+	;;
+ncurses.h)
 	cat >> confdefs.h <<\EOF
 #define HAVE_NCURSES_H 1
 EOF