From 9e330f6fea244b0b9377087b182880ab8c601e03 Mon Sep 17 00:00:00 2001 From: jtb Date: Sun, 29 Apr 2001 16:01:16 +0000 Subject: Update of swi-prolog to 4.0.4. VERSION 4.0.4 ============= * FIXED: Problem in GUI tracer tracing predicates loaded from ?- [user]. * MODIFIED: The file-reading predicates (consult, use_module, load_files, etc.) no longer change current input to the file loaded. This implies that read/1 and friends read from the current input before the load predicate was started rather then the file we are loading from. * FIXED: Setting break-points on facts, or in general on the last (I_EXIT or I_EXITFACT) instruction of a clause. VERSION 4.0.3 ============= * ADDED: New hooking system for help/0, help/1 and apropos/1. * FIXED: Allow for -f "c:\..." in Windows. * ENHANCED: Moved boot/listing.pl to the library, reducing the footprint and startup time. Also modernised the code a bit, allow for hooks, so listing(class->method) lists an XPCE method and allow for partial listing: listing(foo(a, _)) to get only the clauses for which a unifies to the first argument. * FIXED: tracer not to trap cut-port in system predicates (GUI). * FIXED: Atom-GC problem: global options structured used pointers to string of unlocked atoms. * ENHANCED: the GUI debugger. Too much to name it here. * INTERNAL: Moved message-activation of spy and nospy predicates to foreign-code to make sure it gets always called. * FIXED: Bug in recorded database, reported by Michael Heerdegen. * FIXED: Removed trace of rl_add_history() * FIXED: Handling of :- dynamic Module:Name/Arity in PceEmacs cross-referencer. * FIXED: Cleanup of code for setting break-points. Make this code work again from PceEmacs. * ENHANCED: prolog_to_os_filename(-Pl, +Os) to convert 8+3 filenames to long filenames. * ENHANCED: Allow setting spy-point from PceEmacs. * CLEANUP: Replace some more warnings with exceptions. * ENHANCED: library(url) for breaking down and constructing URL strings with some new functionality. Additions by Lukas Faulstich. Also fixed a dangling choice-point in decoding a www-encoded string. * ENHANCED: Moved tty_size/2 from library(tty) to built-in, exploiting IOCTL calls to fetch the terminal size when available. This make tty_size/2 return the actual values rather than constant values from the moment of startup. Reported by Robert van Engelen. VERSION 4.0.2 ============= * FIXED: Memory leak in PL_get_chars() using CVT_WRITE. Reported by Marcin Golebski. * INSTALL: export CIFLAGS=/path/to/local/include should now be honoured correctly by configure (Lukas Faulstich) * FIXED: absolute_file_name/3 not to trust its cache. * ADDED: callable/1 for better compatibility. * FIXED: $qlf_info/4 to request information on QLF files. Also turned a couple of common warnings into proper exceptions. * FIXED: Avoid the usage of the appearently badly supported Win32 function GetFileInformationByHandle(), now using GetFileSize(). This fixes some false-alarm about not being able to find the system resources. * REMOVED: ed/1, also from the backward compatibility module. Edit/1 is the generic editing front-end. * FIXED: writeq(a(b,c,(d,e))), reported by Joachim Katzer. * FIXED: Memory leak in expand_file_name/2. Reported by Daniel Cote. * FIXED: Print error-locations in files holding the ~-character. Thanks to Mike Maxwell. VERSION 4.0.1 ============= * PACKAGE: Many installation patches, added libraries, notably to the XPCE subsystem. * ADDED: Skeleton dotfiles for both Prolog and XPCE to the dotfiles directory. * FIXED: plrc utility for modifying archives. Thanks to Lourens van der Meij. * FIXED: ANSI-C incompatibility, breaking compilation using AIX cc (Sterling Smith). * FIXED: end_of_file issues in readln/[1,2,5] (library(readln)) and modernised the code a bit. * FIXED: Write out-of-range floating point numbers properly (Bart Demoen). --- lang/swi-prolog/Makefile | 6 +-- lang/swi-prolog/distinfo | 9 ++-- lang/swi-prolog/patches/patch-aa | 10 ++-- lang/swi-prolog/patches/patch-ab | 108 +++++++++++++++++++++++++++++++++++++-- lang/swi-prolog/pkg/PLIST | 4 +- 5 files changed, 120 insertions(+), 17 deletions(-) (limited to 'lang/swi-prolog') diff --git a/lang/swi-prolog/Makefile b/lang/swi-prolog/Makefile index 69fb974f254..a2f702c74f9 100644 --- a/lang/swi-prolog/Makefile +++ b/lang/swi-prolog/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.6 2001/04/14 21:43:48 jtb Exp $ +# $NetBSD: Makefile,v 1.7 2001/04/29 16:01:16 jtb Exp $ -DISTNAME= pl-lite-4.0.0 -PKGNAME= swi-prolog-4.0.0 +DISTNAME= pl-lite-4.0.4 +PKGNAME= swi-prolog-4.0.4 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 ffa0922d51e..4a306f7d8a4 100644 --- a/lang/swi-prolog/distinfo +++ b/lang/swi-prolog/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1 2001/04/17 11:32:17 agc Exp $ +$NetBSD: distinfo,v 1.2 2001/04/29 16:01:16 jtb Exp $ -MD5 (swi-prolog/pl-lite-4.0.0.tar.gz) = 05dc2f42cb4e2ac059c724573a0fdfb5 -SHA1 (patch-aa) = 179401271ffd2b0336584be07a744e39a1a81197 -SHA1 (patch-ab) = 3de4db0ab11a18381800579db99424fdda7d37e4 +SHA1 (swi-prolog/pl-lite-4.0.4.tar.gz) = e8750945f81aa3188aff2f316d6f4129c919a8ca +Size (swi-prolog/pl-lite-4.0.4.tar.gz) = 1113073 bytes +SHA1 (patch-aa) = 57b76926cf19944c014070ba65887b2c5cff1a21 +SHA1 (patch-ab) = aa90b40e699d9b0d038d4a73a8f47d87c8a301ff 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 <&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 <&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 <&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 <&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 diff --git a/lang/swi-prolog/pkg/PLIST b/lang/swi-prolog/pkg/PLIST index ec1c471a645..774096c7e54 100644 --- a/lang/swi-prolog/pkg/PLIST +++ b/lang/swi-prolog/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2001/02/20 20:03:53 jtb Exp $ +@comment $NetBSD: PLIST,v 1.2 2001/04/29 16:01:17 jtb Exp $ bin/${SWIPL} bin/plld bin/plrc @@ -15,7 +15,6 @@ lib/${SWILIBDIR}/boot/dwim.pl lib/${SWILIBDIR}/boot/history.pl lib/${SWILIBDIR}/boot/init.pl lib/${SWILIBDIR}/boot/list.pl -lib/${SWILIBDIR}/boot/listing.pl lib/${SWILIBDIR}/boot/load.pl lib/${SWILIBDIR}/boot/make.pl lib/${SWILIBDIR}/boot/messages.pl @@ -48,6 +47,7 @@ lib/${SWILIBDIR}/library/files.pl lib/${SWILIBDIR}/library/gensym.pl lib/${SWILIBDIR}/library/help.pl lib/${SWILIBDIR}/library/helpidx.pl +lib/${SWILIBDIR}/library/listing.pl lib/${SWILIBDIR}/library/netscape.pl lib/${SWILIBDIR}/library/oset.pl lib/${SWILIBDIR}/library/qsave.pl -- cgit v1.2.3