summaryrefslogtreecommitdiff
path: root/lang/swi-prolog/patches
diff options
context:
space:
mode:
Diffstat (limited to 'lang/swi-prolog/patches')
-rw-r--r--lang/swi-prolog/patches/patch-aa10
-rw-r--r--lang/swi-prolog/patches/patch-ab108
2 files changed, 110 insertions, 8 deletions
diff --git a/lang/swi-prolog/patches/patch-aa b/lang/swi-prolog/patches/patch-aa
index daf170c221e..963f93dc5c0 100644
--- a/lang/swi-prolog/patches/patch-aa
+++ b/lang/swi-prolog/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.1.1.1 2001/02/20 20:03:53 jtb Exp $
+$NetBSD: patch-aa,v 1.2 2001/04/29 16:01:17 jtb Exp $
---- src/Makefile.in.orig Thu Feb 15 08:05:34 2001
+--- src/Makefile.in.orig Mon Apr 9 16:03:48 2001
+++ src/Makefile.in
-@@ -70,6 +70,7 @@
+@@ -71,6 +71,7 @@
CMFLAGS=@CMFLAGS@
CFLAGS= $(CWFLAGS) $(COFLAGS) $(CIFLAGS) $(CMFLAGS)
LDFLAGS=@LDFLAGS@
@@ -10,7 +10,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2001/02/20 20:03:53 jtb Exp $
PLFOREIGN=@PLFOREIGN@
-@@ -132,7 +133,7 @@
+@@ -133,7 +134,7 @@
swipl swiplbin
.c.o:
@@ -19,7 +19,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2001/02/20 20:03:53 jtb Exp $
system: $(PL)
startup: $(STARTUPPATH)
-@@ -222,7 +223,7 @@
+@@ -223,7 +224,7 @@
ar x `$(CC) -print-libgcc-file-name` $@
plld: $(srcdir)/plld.c
diff --git a/lang/swi-prolog/patches/patch-ab b/lang/swi-prolog/patches/patch-ab
index 2d080b38bee..8156f3e3c21 100644
--- a/lang/swi-prolog/patches/patch-ab
+++ b/lang/swi-prolog/patches/patch-ab
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.2 2001/04/11 20:11:13 jtb Exp $
+$NetBSD: patch-ab,v 1.3 2001/04/29 16:01:17 jtb Exp $
---- src/configure.orig Wed Apr 11 16:48:12 2001
+--- src/configure.orig Fri Mar 16 08:57:25 2001
+++ src/configure
-@@ -564,7 +564,7 @@
+@@ -565,7 +565,7 @@
EXTRAOBJ=""
INSTALLTARGET=dv-install
@@ -11,3 +11,105 @@ $NetBSD: patch-ab,v 1.2 2001/04/11 20:11:13 jtb Exp $
RT=""
PLVERSION=`cat ../VERSION`
+@@ -2234,14 +2234,14 @@
+ echo "$ac_t""no" 1>&6
+ fi
+
+-echo $ac_n "checking for main in -lncurses""... $ac_c" 1>&6
+-echo "configure:2239: checking for main in -lncurses" >&5
+-ac_lib_var=`echo ncurses'_'main | sed 'y%./+-%__p_%'`
++echo $ac_n "checking for main in -lcurses""... $ac_c" 1>&6
++echo "configure:2239: checking for main in -lcurses" >&5
++ac_lib_var=`echo curses'_'main | 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="-lncurses $LIBS"
++LIBS="-lcurses $LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 2247 "configure"
+ #include "confdefs.h"
+@@ -2265,19 +2265,19 @@
+ fi
+ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+- ac_tr_lib=HAVE_LIB`echo ncurses | sed -e 's/[^a-zA-Z0-9_]/_/g' \
++ ac_tr_lib=HAVE_LIB`echo curses | sed -e 's/[^a-zA-Z0-9_]/_/g' \
+ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
+ cat >> confdefs.h <<EOF
+ #define $ac_tr_lib 1
+ EOF
+
+- LIBS="-lncurses $LIBS"
++ LIBS="-lcurses $LIBS"
+
+ else
+ echo "$ac_t""no" 1>&6
+ fi
+
+-if test ! "$ac_cv_lib_ncurses_main" = "yes"; then
++if test ! "$ac_cv_lib_curses_main" = "yes"; then
+ echo $ac_n "checking for main in -lcurses""... $ac_c" 1>&6
+ echo "configure:2283: checking for main in -lcurses" >&5
+ ac_lib_var=`echo curses'_'main | sed 'y%./+-%__p_%'`
+@@ -2322,7 +2322,7 @@
+ fi
+
+ fi
+-if test ! "$ac_cv_lib_ncurses_main" = "yes" -a \
++if test ! "$ac_cv_lib_curses_main" = "yes" -a \
+ ! "$ac_cv_lib_curses_main" = "yes"; then
+ echo $ac_n "checking for main in -ltermcap""... $ac_c" 1>&6
+ echo "configure:2329: checking for main in -ltermcap" >&5
+@@ -2490,14 +2490,14 @@
+ fi
+
+ if test ! "$ac_cv_lib_readline_main" = "yes"; then
+- echo $ac_n "checking for main in -lncurses""... $ac_c" 1>&6
+-echo "configure:2495: checking for main in -lncurses" >&5
+-ac_lib_var=`echo ncurses'_'main | sed 'y%./+-%__p_%'`
++ echo $ac_n "checking for main in -lcurses""... $ac_c" 1>&6
++echo "configure:2495: checking for main in -lcurses" >&5
++ac_lib_var=`echo curses'_'main | 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="-lncurses $LIBS"
++LIBS="-lcurses $LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 2503 "configure"
+ #include "confdefs.h"
+@@ -2521,19 +2521,19 @@
+ fi
+ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+- ac_tr_lib=HAVE_LIB`echo ncurses | sed -e 's/[^a-zA-Z0-9_]/_/g' \
++ ac_tr_lib=HAVE_LIB`echo curses | sed -e 's/[^a-zA-Z0-9_]/_/g' \
+ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
+ cat >> confdefs.h <<EOF
+ #define $ac_tr_lib 1
+ EOF
+
+- LIBS="-lncurses $LIBS"
++ LIBS="-lcurses $LIBS"
+
+ else
+ echo "$ac_t""no" 1>&6
+ fi
+
+- if test ! "$ac_cv_lib_ncurses_main" = "yes"; then
++ if test ! "$ac_cv_lib_curses_main" = "yes"; then
+ echo $ac_n "checking for main in -lcurses""... $ac_c" 1>&6
+ echo "configure:2539: checking for main in -lcurses" >&5
+ ac_lib_var=`echo curses'_'main | sed 'y%./+-%__p_%'`
+@@ -2578,7 +2578,7 @@
+ fi
+
+ fi
+- if test "$ac_cv_lib_ncurses_main" = "yes" || test "$ac_cv_lib_curses_main" = "yes"; then
++ if test "$ac_cv_lib_curses_main" = "yes" || test "$ac_cv_lib_curses_main" = "yes"; then
+ echo "Found curses library. See if -lreadline works now"
+ unset ac_cv_lib_readline_main
+ echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6