Wed Jul 16 07:14:36 2008 UTC ()
Update to version 4.2.8.  Changes:

 -  Fixed infinite loop when a character is output to a port
whose character encoding does not support the character (e.g. (display
(integer->char 1000)) when character encoding is ISO-8859-1).
 -  Added procedures to extract the threads and thread
groups contained in a thread group (thread-group->thread-list,
thread-group->thread-vector, thread-group->thread-group-list,
thread-group->thread-group-vector).
 -  Renamed open-process' show-window: setting to the more
reasonable show-console: since it controls the visibility of the
console.
 -  Added readtable-max-unescaped-char and
readtable-max-unescaped-char-set which control the external syntax of
characters in symbol, string and character objects written with the
write and pretty-print procedures.
 -  Added tcp-server-socket-info to get the IP address and
port-number of a tcp-server-port (useful when the server port was
created with a kernel assigned port-number, i.e. setting port-number:
0).
 -  Fixed incorrect calls to ___P macro in lib/*.c, and added
lib/check___P script to automatically detect such calls (script
contributed by Derek Peschel).
 -  Added a "terminate" interrupt which terminates the Gambit
process cleanly (all the exit jobs are executed before exiting). On
Unix this interrupt is raised by the SIGTERM signal so a "kill 1234"
where 1234 is the pid of the Gambit process will terminate the process.
On Windows the interrupt occurs when the console window is closed or
the system is shutting down (however currently the system hangs while
executing the exit jobs).
 -  Fixed handling of incomplete characters at end-of-file,
which are now handled like illegal characters (error signaled unless
char-encoding-errors setting is set to #f).
 -  Fixed recently introduced bug in handling of end-of-line
encoding.
 -  Added escaping of non-graphical characters in symbols:
(string->symbol (string (integer->char 255))) gives |\377| .
 -  Protect gcc extension _builtin_expect with GCC version >= 3
because old gcc versions (up to 2.95.3 it seems) did not have that
extension.
 -  Added char-encoding-errors: setting to open-file to
enable/disable character encoding error checking, and -:fr and -:fR
runtime options to select the default setting for file I/O (on/off).
 -  Removed non-ASCII characters from lib/_num.scm .
 -  Fixed error introduced with end-of-line encoding of the history
file.
 -  Changed end-of-line encoding from lf to cr-lf when reading
source code. This makes the load procedure and the compiler more lenient
when reading source code with non-Unix-style end-of-line encoding. This
means that source code with a string containing a CR/LF sequence will
construct a string with a single #\newline character (previously both$
#\return and #\newline were put in the string).
 -  Fixed compiler crash when compiling files containing the forms
#123, #, ##, etc (file location information was not properly attached to
expression)
 -  Improve error messages produced by the C compiler when it
compiles a file generated by a different version of the Gambit compiler.


(bjs)
diff -r1.5 -r1.6 pkgsrc/lang/gambc/Makefile
diff -r1.1.1.1 -r1.2 pkgsrc/lang/gambc/PLIST
diff -r1.1.1.1 -r1.2 pkgsrc/lang/gambc/distinfo
diff -r1.1.1.1 -r1.2 pkgsrc/lang/gambc/version.mk
diff -r1.1.1.1 -r1.2 pkgsrc/lang/gambc/patches/patch-aa

cvs diff -r1.5 -r1.6 pkgsrc/lang/gambc/Makefile (expand / switch to unified diff)

--- pkgsrc/lang/gambc/Makefile 2008/05/26 22:19:40 1.5
+++ pkgsrc/lang/gambc/Makefile 2008/07/16 07:14:36 1.6
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.5 2008/05/26 22:19:40 tnn Exp $ 1# $NetBSD: Makefile,v 1.6 2008/07/16 07:14:36 bjs Exp $
2# 2#
3 3
4DISTNAME= gambc-${GAMBC_DIST_VERSION} 4DISTNAME= gambc-${GAMBC_DIST_VERSION}
5PKGNAME= gambc-${GAMBC_VERSION} 5PKGNAME= gambc-${GAMBC_VERSION}
6CATEGORIES= lang 6CATEGORIES= lang
7MASTER_SITES= http://www.iro.umontreal.ca/~gambit/download/gambit/v4.2/source/ 7MASTER_SITES= http://www.iro.umontreal.ca/~gambit/download/gambit/v4.2/source/
8EXTRACT_SUFX= .tgz 8EXTRACT_SUFX= .tgz
9 9
10MAINTAINER= bjs@NetBSD.org 10MAINTAINER= bjs@NetBSD.org
11HOMEPAGE= http://www.iro.umontreal.ca/~gambit/ 11HOMEPAGE= http://www.iro.umontreal.ca/~gambit/
12COMMENT= GambitC Scheme System 12COMMENT= GambitC Scheme System
13 13
14PKG_DESTDIR_SUPPORT= user-destdir 14PKG_DESTDIR_SUPPORT= user-destdir
@@ -28,26 +28,28 @@ CONFIGURE_ARGS+= --enable-shared @@ -28,26 +28,28 @@ CONFIGURE_ARGS+= --enable-shared
28### -fmodulo-sched, gcc 4.1.3). 28### -fmodulo-sched, gcc 4.1.3).
29### 29###
30CONFIGURE_ARGS+= --disable-gcc-opts 30CONFIGURE_ARGS+= --disable-gcc-opts
31 31
32INFO_FILES= yes 32INFO_FILES= yes
33MAKE_FILE= makefile 33MAKE_FILE= makefile
34 34
35BUILD_TARGET+= bootstrap 35BUILD_TARGET+= bootstrap
36TEST_TARGET= check 36TEST_TARGET= check
37 37
38CHECK_PORTABILITY_SKIP= prebuilt/*/* 38CHECK_PORTABILITY_SKIP= prebuilt/*/*
39DLOPEN_REQUIRE_PTHREADS=no 39DLOPEN_REQUIRE_PTHREADS=no
40 40
 41TEST_TARGET= check
 42
41.include "../../mk/bsd.prefs.mk" 43.include "../../mk/bsd.prefs.mk"
42 44
43GAMBC_MAKE_FLAGS= prefix=${PREFIX} 45GAMBC_MAKE_FLAGS= prefix=${PREFIX}
44GAMBC_MAKE_FLAGS+= includedir=${PREFIX}/include 46GAMBC_MAKE_FLAGS+= includedir=${PREFIX}/include
45GAMBC_MAKE_FLAGS+= bindir=${PREFIX}/bin 47GAMBC_MAKE_FLAGS+= bindir=${PREFIX}/bin
46GAMBC_MAKE_FLAGS+= infodir=${PREFIX}/${PKGINFODIR} 48GAMBC_MAKE_FLAGS+= infodir=${PREFIX}/${PKGINFODIR}
47GAMBC_MAKE_FLAGS+= libdir=${PREFIX}/lib/ 49GAMBC_MAKE_FLAGS+= libdir=${PREFIX}/lib/
48GAMBC_MAKE_FLAGS+= mandir=${PREFIX}/${PKGMANDIR} 50GAMBC_MAKE_FLAGS+= mandir=${PREFIX}/${PKGMANDIR}
49GAMBC_MAKE_FLAGS+= docdir=${PREFIX}/share/doc/${PKGBASE} 51GAMBC_MAKE_FLAGS+= docdir=${PREFIX}/share/doc/${PKGBASE}
50GAMBC_MAKE_FLAGS+= infodir=${PREFIX}/${PKGINFODIR} 52GAMBC_MAKE_FLAGS+= infodir=${PREFIX}/${PKGINFODIR}
51GAMBC_MAKE_FLAGS+= emacsdir=${PREFIX}/share/emacs/site-lisp 53GAMBC_MAKE_FLAGS+= emacsdir=${PREFIX}/share/emacs/site-lisp
52 54
53MAKE_FLAGS+= ${GAMBC_MAKE_FLAGS} 55MAKE_FLAGS+= ${GAMBC_MAKE_FLAGS}

cvs diff -r1.1.1.1 -r1.2 pkgsrc/lang/gambc/PLIST (expand / switch to unified diff)

--- pkgsrc/lang/gambc/PLIST 2008/04/28 04:14:31 1.1.1.1
+++ pkgsrc/lang/gambc/PLIST 2008/07/16 07:14:36 1.2
@@ -1,26 +1,27 @@ @@ -1,26 +1,27 @@
1@comment $NetBSD: PLIST,v 1.1.1.1 2008/04/28 04:14:31 bjs Exp $ 1@comment $NetBSD: PLIST,v 1.2 2008/07/16 07:14:36 bjs Exp $
2bin/gsc 2bin/gsc
3bin/gsc-cc-o.bat 3bin/gsc-cc-o.bat
4bin/gsc-script 4bin/gsc-script
5bin/gsi 5bin/gsi
6bin/gsi-script 6bin/gsi-script
7bin/scheme-ieee-1178-1990 7bin/scheme-ieee-1178-1990
8bin/scheme-r4rs 8bin/scheme-r4rs
9bin/scheme-r5rs 9bin/scheme-r5rs
10bin/scheme-srfi-0 10bin/scheme-srfi-0
11bin/six 11bin/six
12bin/six-script 12bin/six-script
13include/gambit.h 13include/gambit.h
 14include/gambit-not.h
14info/gambit-c.info 15info/gambit-c.info
15lib/_eval#.scm 16lib/_eval#.scm
16lib/_gambc.c 17lib/_gambc.c
17lib/_gambcgsc.c 18lib/_gambcgsc.c
18lib/_gambcgsi.c 19lib/_gambcgsi.c
19lib/_gambit#.scm 20lib/_gambit#.scm
20lib/_io#.scm 21lib/_io#.scm
21lib/_kernel#.scm 22lib/_kernel#.scm
22lib/_nonstd#.scm 23lib/_nonstd#.scm
23lib/_num#.scm 24lib/_num#.scm
24lib/_repl#.scm 25lib/_repl#.scm
25lib/_std#.scm 26lib/_std#.scm
26lib/_system#.scm 27lib/_system#.scm

cvs diff -r1.1.1.1 -r1.2 pkgsrc/lang/gambc/distinfo (expand / switch to unified diff)

--- pkgsrc/lang/gambc/distinfo 2008/04/28 04:14:31 1.1.1.1
+++ pkgsrc/lang/gambc/distinfo 2008/07/16 07:14:36 1.2
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.1.1.1 2008/04/28 04:14:31 bjs Exp $ 1$NetBSD: distinfo,v 1.2 2008/07/16 07:14:36 bjs Exp $
2 2
3SHA1 (gambc-v4_2_6.tgz) = 2b6415a82d10113d5f6535f52da4718207c13c30 3SHA1 (gambc-v4_2_8.tgz) = 785cb0667c7bfb554cd584413eed8bdb9f4a6077
4RMD160 (gambc-v4_2_6.tgz) = 0d8a4f22a909b1014489db3ec9d545f46df3530e 4RMD160 (gambc-v4_2_8.tgz) = ae51ee03c9fcd6da55102e4cf2d72b2e48161d70
5Size (gambc-v4_2_6.tgz) = 14147053 bytes 5Size (gambc-v4_2_8.tgz) = 14255377 bytes
6SHA1 (patch-aa) = 4261aa36e1dbf3f818a851dd17a579521c1dac7d 6SHA1 (patch-aa) = 73f5408fbfda26e7fca5f3547d68af1809107959

cvs diff -r1.1.1.1 -r1.2 pkgsrc/lang/gambc/version.mk (expand / switch to unified diff)

--- pkgsrc/lang/gambc/version.mk 2008/04/28 04:14:31 1.1.1.1
+++ pkgsrc/lang/gambc/version.mk 2008/07/16 07:14:36 1.2
@@ -1,10 +1,10 @@ @@ -1,10 +1,10 @@
1# $NetBSD: version.mk,v 1.1.1.1 2008/04/28 04:14:31 bjs Exp $ 1# $NetBSD: version.mk,v 1.2 2008/07/16 07:14:36 bjs Exp $
2### 2###
3.if !defined(GAMBC_VERSION_MK) 3.if !defined(GAMBC_VERSION_MK)
4GAMBC_VERSION_MK= # empty 4GAMBC_VERSION_MK= # empty
5### 5###
6### The package version sets the distribution version. 6### The package version sets the distribution version.
7### 7###
8GAMBC_VERSION= 4.2.6 8GAMBC_VERSION= 4.2.8
9GAMBC_DIST_VERSION= ${GAMBC_VERSION:C|^.*|v&|:S|.|_|g} 9GAMBC_DIST_VERSION= ${GAMBC_VERSION:C|^.*|v&|:S|.|_|g}
10.endif 10.endif

cvs diff -r1.1.1.1 -r1.2 pkgsrc/lang/gambc/patches/patch-aa (expand / switch to unified diff)

--- pkgsrc/lang/gambc/patches/patch-aa 2008/04/28 04:14:31 1.1.1.1
+++ pkgsrc/lang/gambc/patches/patch-aa 2008/07/16 07:14:36 1.2
@@ -1,26 +1,26 @@ @@ -1,26 +1,26 @@
1$NetBSD: patch-aa,v 1.1.1.1 2008/04/28 04:14:31 bjs Exp $ 1$NetBSD: patch-aa,v 1.2 2008/07/16 07:14:36 bjs Exp $
2 2
3--- makefile.in.orig 2008-03-17 13:13:58.000000000 -0400 3--- makefile.in.orig 2008-05-17 08:43:44.000000000 -0400
4+++ makefile.in 4+++ makefile.in
5@@ -56,7 +56,7 @@ includedir=$(includedir) libdir=$(libdir 5@@ -56,7 +56,7 @@ includedir=$(includedir) libdir=$(libdir
6 bindir=$(bindir) docdir=$(docdir) \ 6 bindir=$(bindir) docdir=$(docdir) \
7 infodir=$(infodir) emacsdir=$(emacsdir) 7 infodir=$(infodir) emacsdir=$(emacsdir)
8  8
9-SUBDIRS = include lib gsi gsc bin misc doc tests examples prebuilt 9-SUBDIRS = include lib gsi gsc bin misc doc tests examples prebuilt
10+SUBDIRS = include lib gsi gsc bin doc tests examples 10+SUBDIRS = include lib gsi gsc bin doc tests examples
11  11
12 RCFILES = README INSTALL.txt LICENSE-2.0.txt LGPL.txt \ 12 RCFILES = README INSTALL.txt LICENSE-2.0.txt LGPL.txt \
13 makefile.in configure.ac config.guess config.sub install-sh mkidirs \ 13 makefile.in configure configure.ac config.guess config.sub install-sh mkidirs \
14@@ -174,10 +174,10 @@ publish-release: fake_target 14@@ -174,10 +174,10 @@ publish-release: fake_target
15 install-pre: 15 install-pre:
16  16
17 install-post: all 17 install-post: all
18- rm -f $(prefix)/current $(prefix)/current.lnk 18- rm -f $(prefix)/current $(prefix)/current.lnk
19- if test "@bat@" = ""; then \ 19- if test "@bat@" = ""; then \
20- (cd $(prefix) && $(LN_S) .$(PACKAGE_SUBDIR) current); \ 20- (cd $(prefix) && $(LN_S) .$(PACKAGE_SUBDIR) current); \
21- fi 21- fi
22+# rm -f $(prefix)/current $(prefix)/current.lnk 22+# rm -f $(prefix)/current $(prefix)/current.lnk
23+# if test "@bat@" = ""; then \ 23+# if test "@bat@" = ""; then \
24+# (cd $(prefix) && $(LN_S) .$(PACKAGE_SUBDIR) current); \ 24+# (cd $(prefix) && $(LN_S) .$(PACKAGE_SUBDIR) current); \
25+# fi 25+# fi
26  26