summaryrefslogtreecommitdiff
path: root/lang/swi-prolog
diff options
context:
space:
mode:
authorjtb <jtb@pkgsrc.org>2001-05-22 01:21:16 +0000
committerjtb <jtb@pkgsrc.org>2001-05-22 01:21:16 +0000
commit2d2a99b762a5e24526276cc3c5f3aee45ecc61e5 (patch)
tree5c94e396c18c882eb8e610687eefe8b7e7c4083c /lang/swi-prolog
parent27f4a9031efc353af8c02c308af372ac1013e252 (diff)
downloadpkgsrc-2d2a99b762a5e24526276cc3c5f3aee45ecc61e5.tar.gz
Update of swi-prolog to 4.0.5.
VERSION 4.0.5 ============= * FIXED: Actually make re-hashing predicates work. This bug causes large (dynamic) predicates that are queried while they are build to show linear rather than constant-time access behaviour. Perfomance difference on victim programs can be dramatic! * ENHANCED: GNU-readline interface. Detect useful additions from readline 4.2, avoid type-conflicts and handle re-entrance through XPCE much more cleanly as well as aborts. * PORT: Many C-compiler warnings, making the native IRIX cc compile SWI-Prolog silently. Improved detection of wait() variations. Thanks to Jean Wang for providing me with access to their machine. * ENHANCED: Handling of prolog_edit:select_location/3. Enhancement exploited by XPCE to use GUI-based selection if running from GUI. * ADDED: -s file to load a script-file in addition to the user initialisation file. * ADDED: -q commandline option to make the system operate silently. * ADDED: PrologScript support using #!, providing direct scripting in Unix and additional parameters on MS-Windows. * FIXED: Wipe the anonymous clauses for meta-calling on $dcall/1 as soon as possible. Reported by Stefan Mueller. * ADDED: Save home in saved-state for class development and kernel. This enables saved-states to find the installed SWI-Prolog. Especially useful for Windows. * ADDED: Save default stack limits in the Windows registry and add a menu item to the manpce/0 File/Edit Preferences menu to manage these registry settings.
Diffstat (limited to 'lang/swi-prolog')
-rw-r--r--lang/swi-prolog/Makefile6
-rw-r--r--lang/swi-prolog/distinfo8
-rw-r--r--lang/swi-prolog/patches/patch-ab108
3 files changed, 10 insertions, 112 deletions
diff --git a/lang/swi-prolog/Makefile b/lang/swi-prolog/Makefile
index 35317a4a9a6..a9221b29856 100644
--- a/lang/swi-prolog/Makefile
+++ b/lang/swi-prolog/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2001/05/03 22:16:50 jtb Exp $
+# $NetBSD: Makefile,v 1.9 2001/05/22 01:21:16 jtb Exp $
-DISTNAME= pl-lite-4.0.4
-PKGNAME= swi-prolog-4.0.4
+DISTNAME= pl-lite-4.0.5
+PKGNAME= swi-prolog-4.0.5
CATEGORIES= lang
MASTER_SITES= http://www.swi.psy.uva.nl/cgi-bin//nph-download/SWI-Prolog/
diff --git a/lang/swi-prolog/distinfo b/lang/swi-prolog/distinfo
index 4a306f7d8a4..acc40fad124 100644
--- a/lang/swi-prolog/distinfo
+++ b/lang/swi-prolog/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2001/04/29 16:01:16 jtb Exp $
+SHA1 (patch-aa) = 57b76926cf19944c014070ba65887b2c5cff1a21
-SHA1 (swi-prolog/pl-lite-4.0.4.tar.gz) = e8750945f81aa3188aff2f316d6f4129c919a8ca
-Size (swi-prolog/pl-lite-4.0.4.tar.gz) = 1113073 bytes
+SHA1 (swi-prolog/pl-lite-4.0.5.tar.gz) = 6c0aac9e414990c0e245074a97c2a319bc13a5bf
+Size (swi-prolog/pl-lite-4.0.5.tar.gz) = 1121630 bytes
SHA1 (patch-aa) = 57b76926cf19944c014070ba65887b2c5cff1a21
-SHA1 (patch-ab) = aa90b40e699d9b0d038d4a73a8f47d87c8a301ff
+SHA1 (patch-ab) = 7efd2c6caacdc6473743cbfcdf0cd5142f26d5a6
diff --git a/lang/swi-prolog/patches/patch-ab b/lang/swi-prolog/patches/patch-ab
index 8156f3e3c21..87e4769c632 100644
--- a/lang/swi-prolog/patches/patch-ab
+++ b/lang/swi-prolog/patches/patch-ab
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.3 2001/04/29 16:01:17 jtb Exp $
+$NetBSD: patch-ab,v 1.4 2001/05/22 01:21:17 jtb Exp $
---- src/configure.orig Fri Mar 16 08:57:25 2001
+--- src/configure.orig Tue May 22 01:17:01 2001
+++ src/configure
-@@ -565,7 +565,7 @@
+@@ -563,7 +563,7 @@
EXTRAOBJ=""
INSTALLTARGET=dv-install
@@ -11,105 +11,3 @@ $NetBSD: patch-ab,v 1.3 2001/04/29 16:01:17 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