summaryrefslogtreecommitdiff
path: root/lang/gauche/patches
diff options
context:
space:
mode:
authoruebayasi <uebayasi>2007-01-19 12:59:00 +0000
committeruebayasi <uebayasi>2007-01-19 12:59:00 +0000
commit476faa694c9a68f0e3561ed1c75f9e383e0ddb91 (patch)
treed80e529c5f6c7b518b35aa34e39ec49c64b8d238 /lang/gauche/patches
parenta88fe0bf74532ac5abd10e44d32211718987daa2 (diff)
downloadpkgsrc-476faa694c9a68f0e3561ed1c75f9e383e0ddb91.tar.gz
Update Gauche from 0.8.6 to 0.8.9.
Important changes excerpted from web pages: 2007/1/17 Gauche 0.8.9: Major maintenance release + Bug fixes + Miscellaneous improvements: 2006/11/18 Gauche 0.8.8 important patch: There is a bug in main.c that makes gosh exits silently without reporting errors when a Scheme script raised an unhandled error. Please apply the patch shown in the following message: http://sourceforge.net/mailarchive/forum.php?thread_id=30949517&forum_id= 2043 2006/11/11 Gauche 0.8.8: Major maintenance release + Important Changes: o Exact rational number is supported; now you get 1/3 from (/ 1 3). To obtain inexact number from division of two exact numbers, you have to use exact->inexact explicitly. With this change you can get more exact result, but if your code has relied on the old Gauche behavior that automatically converts rationals to inexact reals, your code may run very slowly in this release of Gauche (since exact rational arithmetic is much slower than flonum arithmetic). For the smooth transition, a compatibility module compat.norational is provided, which makes the / operator behaves like before. See the manual entry for the details. o The reader is more strict about utf-8 encoding. Consequently, some source files in other encoding that happened to be accepted by previous versions of Gauche may no longer work. If you get an error, either convert the encoding of the source, or use "coding:" magic comment (See "Multibyte scripts" section of the reference manual). o The test-module routine in gauche.test is fixed so that it detects more references to undefined global variables that have been overlooked. You may get an error something like "symbols referenced but not defined: ...". In most cases, they are from typos. See the manual entry of gauche.test - Unit testing for the details. o New modules: # sxml.serializer: Generic routine to convert SXML to other formats like XML or HTML. Written by Dmitry Lizorkin and ported to Gauche by Leonardo Boiko. # util.trie: Implementation of Trie. Originally by OOHASHI Daichi, and hacked by numerous Gauche hackers. # util.rbtree: Implementation of Red-Black Tree. Written by Rui Ueyama. o A bug in port locking routine, that caused a race condition on multiprocessor machine, is fixed. As a side effect, port lock operation became a bit faster. o C API prospected change: Scm_Eval, Scm_EvalCString, and Scm_Apply will have different API in the next release. The current API is kept under a different name, Scm_EvalRec, Scm_EvalCStringRec, and Scm_ApplyRec. If you are using those functions, please make changes until the next release. + Miscellaneous fixes and improvements: 2006/4/12 Gauche 0.8.7: Major maintenance release + Bug fixes: + Improvements:
Diffstat (limited to 'lang/gauche/patches')
-rw-r--r--lang/gauche/patches/patch-aa12
-rw-r--r--lang/gauche/patches/patch-ab13
-rw-r--r--lang/gauche/patches/patch-ac13
-rw-r--r--lang/gauche/patches/patch-ad13
-rw-r--r--lang/gauche/patches/patch-ae16
-rw-r--r--lang/gauche/patches/patch-af4
-rw-r--r--lang/gauche/patches/patch-ag4
7 files changed, 18 insertions, 57 deletions
diff --git a/lang/gauche/patches/patch-aa b/lang/gauche/patches/patch-aa
index dd1dc8685c0..cbdb9880e7a 100644
--- a/lang/gauche/patches/patch-aa
+++ b/lang/gauche/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.7 2006/03/31 18:35:22 jlam Exp $
+$NetBSD: patch-aa,v 1.8 2007/01/19 12:59:01 uebayasi Exp $
---- configure.orig 2005-11-04 20:00:47.000000000 -0500
+--- configure.orig 2007-01-18 04:18:59.000000000 +0900
+++ configure
-@@ -1631,7 +1631,7 @@ _ACEOF
+@@ -1619,7 +1619,7 @@ _ACEOF
THREADLIBS="-lpthread -lrt"
;;
@@ -11,7 +11,7 @@ $NetBSD: patch-aa,v 1.7 2006/03/31 18:35:22 jlam Exp $
{ echo "$as_me:$LINENO: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&5
echo "$as_me: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&2;}
-@@ -7238,7 +7238,72 @@ fi
+@@ -7426,7 +7426,72 @@ fi
@@ -85,7 +85,7 @@ $NetBSD: patch-aa,v 1.7 2006/03/31 18:35:22 jlam Exp $
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
-@@ -8878,7 +8943,7 @@ case $target in
+@@ -9068,7 +9133,7 @@ case $target in
SHLIB_MAIN_LDFLAGS=""
SHLIB_OK=ok
;;
@@ -94,7 +94,7 @@ $NetBSD: patch-aa,v 1.7 2006/03/31 18:35:22 jlam Exp $
SHLIB_SO_CFLAGS="-fPIC"
SHLIB_SO_LDFLAGS="$rpath -shared -o"
SHLIB_SO_SUFFIX="so"
-@@ -9276,7 +9341,9 @@ fi;
+@@ -9466,7 +9531,9 @@ fi;
if test "${with_iconv_lib+set}" = set; then
withval="$with_iconv_lib"
diff --git a/lang/gauche/patches/patch-ab b/lang/gauche/patches/patch-ab
deleted file mode 100644
index f3e02ed8d65..00000000000
--- a/lang/gauche/patches/patch-ab
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.5 2005/12/30 14:18:52 joerg Exp $
-
---- gc/include/private/gcconfig.h.orig 2005-12-30 13:34:26.000000000 +0000
-+++ gc/include/private/gcconfig.h
-@@ -55,7 +55,7 @@
- # endif
-
- /* And one for FreeBSD: */
--# if defined(__FreeBSD__) && !defined(FREEBSD)
-+# if (defined(__FreeBSD__) || defined(__DragonFly__)) && !defined(FREEBSD)
- # define FREEBSD
- # endif
-
diff --git a/lang/gauche/patches/patch-ac b/lang/gauche/patches/patch-ac
deleted file mode 100644
index 5643f6259c7..00000000000
--- a/lang/gauche/patches/patch-ac
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ac,v 1.6 2005/12/30 14:18:52 joerg Exp $
-
---- gc/include/gc_config_macros.h.orig 2005-12-30 13:35:00.000000000 +0000
-+++ gc/include/gc_config_macros.h
-@@ -87,7 +87,7 @@
- # define GC_DARWIN_THREADS
- # define GC_PTHREADS
- # endif
--# if !defined(GC_PTHREADS) && defined(__FreeBSD__)
-+# if !defined(GC_PTHREADS) && (defined(__FreeBSD__) || defined(__DragonFly__))
- # define GC_FREEBSD_THREADS
- # define GC_PTHREADS
- # endif
diff --git a/lang/gauche/patches/patch-ad b/lang/gauche/patches/patch-ad
deleted file mode 100644
index 42122aba728..00000000000
--- a/lang/gauche/patches/patch-ad
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ad,v 1.7 2005/12/30 14:18:52 joerg Exp $
-
---- gc/include/gc.h.orig 2005-12-30 13:35:27.000000000 +0000
-+++ gc/include/gc.h
-@@ -497,7 +497,7 @@ GC_API GC_PTR GC_malloc_atomic_ignore_of
- /* This may also be desirable if it is possible but expensive to */
- /* retrieve the call chain. */
- #if (defined(__linux__) || defined(__NetBSD__) || defined(__OpenBSD__) \
-- || defined(__FreeBSD__)) & !defined(GC_CAN_SAVE_CALL_STACKS)
-+ || defined(__FreeBSD__) || defined(__DragonFly__)) & !defined(GC_CAN_SAVE_CALL_STACKS)
- # define GC_ADD_CALLER
- # if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
- /* gcc knows how to retrieve return address, but we don't know */
diff --git a/lang/gauche/patches/patch-ae b/lang/gauche/patches/patch-ae
index 87b2decde79..11c38990608 100644
--- a/lang/gauche/patches/patch-ae
+++ b/lang/gauche/patches/patch-ae
@@ -1,17 +1,17 @@
-$NetBSD: patch-ae,v 1.10 2005/12/30 14:18:52 joerg Exp $
+$NetBSD: patch-ae,v 1.11 2007/01/19 12:59:02 uebayasi Exp $
---- gc/configure.orig 2005-11-05 01:00:49.000000000 +0000
+--- gc/configure.orig 2007-01-18 04:19:02.000000000 +0900
+++ gc/configure
-@@ -4030,7 +4030,7 @@ _ACEOF
- fi
- THREADDLLIBS="-lpthread -lrt"
+@@ -4040,7 +4040,7 @@ _ACEOF
+ { echo "$as_me:$LINENO: WARNING: \"Only HP-UX 11 POSIX threads are supported.\"" >&5
+ echo "$as_me: WARNING: \"Only HP-UX 11 POSIX threads are supported.\"" >&2;}
;;
- *-*-freebsd*)
+ *-*-freebsd* | *-*-dragonfly*)
{ echo "$as_me:$LINENO: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&5
echo "$as_me: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&2;}
cat >>confdefs.h <<\_ACEOF
-@@ -4698,13 +4698,13 @@ darwin* | rhapsody*)
+@@ -4822,13 +4822,13 @@ darwin* | rhapsody*)
esac
;;
@@ -27,7 +27,7 @@ $NetBSD: patch-ae,v 1.10 2005/12/30 14:18:52 joerg Exp $
lt_cv_file_magic_cmd=/usr/bin/file
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
;;
-@@ -7200,7 +7200,7 @@ else
+@@ -7324,7 +7324,7 @@ else
;;
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
@@ -36,7 +36,7 @@ $NetBSD: patch-ae,v 1.10 2005/12/30 14:18:52 joerg Exp $
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
hardcode_libdir_flag_spec='-R$libdir'
hardcode_direct=yes
-@@ -7659,7 +7659,7 @@ freebsd1*)
+@@ -7783,7 +7783,7 @@ freebsd1*)
dynamic_linker=no
;;
diff --git a/lang/gauche/patches/patch-af b/lang/gauche/patches/patch-af
index 913d633d1f8..8be0a97f885 100644
--- a/lang/gauche/patches/patch-af
+++ b/lang/gauche/patches/patch-af
@@ -1,6 +1,6 @@
-$NetBSD: patch-af,v 1.3 2006/03/31 18:35:22 jlam Exp $
+$NetBSD: patch-af,v 1.4 2007/01/19 12:59:02 uebayasi Exp $
---- ext/dbm/Makefile.in.orig 2005-08-28 18:51:19.000000000 -0400
+--- ext/dbm/Makefile.in.orig 2005-08-29 08:04:03.000000000 +0900
+++ ext/dbm/Makefile.in
@@ -12,6 +12,8 @@ SCMFILES = @DBM_SCMFILES@
GENERATED = Makefile dbmconf.h
diff --git a/lang/gauche/patches/patch-ag b/lang/gauche/patches/patch-ag
index 6851fa1a09f..10865f4dfc4 100644
--- a/lang/gauche/patches/patch-ag
+++ b/lang/gauche/patches/patch-ag
@@ -1,6 +1,6 @@
-$NetBSD: patch-ag,v 1.5 2006/03/31 18:35:22 jlam Exp $
+$NetBSD: patch-ag,v 1.6 2007/01/19 12:59:02 uebayasi Exp $
---- ext/charconv/Makefile.in.orig 2005-09-10 05:05:28.000000000 -0400
+--- ext/charconv/Makefile.in.orig 2005-09-10 18:04:04.000000000 +0900
+++ ext/charconv/Makefile.in
@@ -5,7 +5,7 @@ top_srcdir = @top_srcdir@
include ../Makefile.ext