head 1.5; access; symbols pkgsrc-2013Q2:1.5.0.24 pkgsrc-2013Q2-base:1.5 pkgsrc-2012Q4:1.5.0.22 pkgsrc-2012Q4-base:1.5 pkgsrc-2011Q4:1.5.0.20 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q2:1.5.0.18 pkgsrc-2011Q2-base:1.5 pkgsrc-2009Q4:1.5.0.16 pkgsrc-2009Q4-base:1.5 pkgsrc-2008Q4:1.5.0.14 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.12 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.10 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.8 pkgsrc-2008Q2-base:1.5 pkgsrc-2008Q1:1.5.0.6 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.4 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.5.0.2 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.4.0.2 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.3.0.20 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.18 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.16 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.14 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.12 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.10 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.8 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.6 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.4 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.2 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.2.0.6 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.4 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.2 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.1.0.4 pkgsrc-2003Q4-base:1.1 netbsd-1-6-1:1.1.0.2 netbsd-1-6-1-base:1.1; locks; strict; comment @# @; 1.5 date 2007.07.20.00.09.22; author gdt; state dead; branches; next 1.4; 1.4 date 2007.06.12.03.02.34; author dmcmahill; state Exp; branches; next 1.3; 1.3 date 2004.11.18.12.30.49; author wiz; state Exp; branches; next 1.2; 1.2 date 2003.12.14.17.14.40; author wiz; state Exp; branches; next 1.1; 1.1 date 2003.01.06.10.38.08; author uebayasi; state Exp; branches; next ; desc @@ 1.5 log @Update to 1.8.2. Several patches are now applied upstream. Several others required significant adjustment due to upstream changes. Tested on NetBSD-current/i386. Changes in 1.8.2 (since 1.8.1): * New procedures (see the manual for details) ** set-program-arguments ** make-vtable * Incompatible changes ** The body of a top-level `define' no longer sees the binding being created In a top-level `define', the binding being created is no longer visible from the `define' body. This breaks code like "(define foo (begin (set! foo 1) (+ foo 1)))", where `foo' is now unbound in the body. However, such code was not R5RS-compliant anyway, per Section 5.2.1. * Bugs fixed ** Fractions were not `equal?' if stored in unreduced form. (A subtle problem, since printing a value reduced it, making it work.) ** srfi-60 `copy-bit' failed on 64-bit systems ** "guile --use-srfi" option at the REPL can replace core functions (Programs run with that option were ok, but in the interactive REPL the core bindings got priority, preventing SRFI replacements or extensions.) ** `regexp-exec' doesn't abort() on #\nul in the input or bad flags arg ** `kill' on mingw throws an error for a PID other than oneself ** Procedure names are attached to procedure-with-setters ** Array read syntax works with negative lower bound ** `array-in-bounds?' fix if an array has different lower bounds on each index ** `*' returns exact 0 for "(* inexact 0)" This follows what it always did for "(* 0 inexact)". ** SRFI-19: Value returned by `(current-time time-process)' was incorrect ** SRFI-19: `date->julian-day' did not account for timezone offset ** `ttyname' no longer crashes when passed a non-tty argument ** `inet-ntop' no longer crashes on SPARC when passed an `AF_INET' address ** Small memory leaks have been fixed in `make-fluid' and `add-history' ** GOOPS: Fixed a bug in `method-more-specific?' ** Build problems on Solaris fixed ** Build problems on HP-UX IA64 fixed ** Build problems on MinGW fixed @ text @$NetBSD: patch-af,v 1.4 2007/06/12 03:02:34 dmcmahill Exp $ Avoid a segfault if ttyname returns NULL. Observed on NetBSD-2/alpha. Avoid len being undefined on solaris-2.9. This guile function still doesn't work right on solaris-2.9 which is missing unsetenv(). --- libguile/posix.c.orig 2006-10-04 03:35:07.000000000 +0000 +++ libguile/posix.c @@@@ -831,14 +831,20 @@@@ SCM_DEFINE (scm_ttyname, "ttyname", 1, 0 scm_i_scm_pthread_mutex_lock (&scm_i_misc_mutex); SCM_SYSCALL (result = ttyname (fd)); err = errno; - ret = scm_from_locale_string (result); - scm_i_pthread_mutex_unlock (&scm_i_misc_mutex); if (!result) { errno = err; SCM_SYSERROR; + ret = scm_from_locale_string ("unknown"); + } + else + { + ret = scm_from_locale_string (result); } + + scm_i_pthread_mutex_unlock (&scm_i_misc_mutex); + return ret; } #undef FUNC_NAME @@@@ -1312,7 +1318,7 @@@@ SCM_DEFINE (scm_putenv, "putenv", 1, 0, { int rv; char *c_str = scm_to_locale_string (str); -#ifdef __MINGW32__ +#if defined(__MINGW32__) || !defined(HAVE_UNSETENV) size_t len = strlen (c_str); #endif @ 1.4 log @Update to guile-1.8.1. Note that the 1.6.x series of guile is still available in lang/guile16. Many, many changes since the last 1.6.x release including bug fixes, build fixes, and many feature additions. See the NEWS file for the full (> 1,000 lines) list of changes. @ text @d1 1 a1 1 $NetBSD$ @ 1.3 log @Update to 1.6.5. Greg Troxel and I did the same work here, so I'll commit it before someone else does too :) Changes since Guile 1.6.4 (changes in 1.6.5): * Changes to the distribution ** Bugs have been fixed that prevented the (re)generation of psyntax.pp. ** SRFI-31 has been added (special form `rec' for recursive evaluation) (use-modules (srfi srfi-31)) will now provide support for SRFI-31. See the Guile info pages for more documentation. ** SRFI-39 has been added (parameter objects) ** Guile is now compiled with -fno-strict-aliasing when gcc is detected. ** The --enable-htmldoc option has been removed from 'configure'. Support for translating the documentation into HTML is now always provided. Use 'make html'. * Changes to the stand-alone interpreter ** GC bug fixed. The use of scm_must_realloc() for memory which is scanned by GC, could trigger a GC scan of a free()d block of memory. This is now fixed. * Changes to Scheme functions and syntax ** array-map! and array-map-in-order! now require at least one source array. Previously a call without any source arrays like (array-map! array proc) would cause a segfault. Now such calls are properly rejected. ** srfi-4 has been overhauled Bugs have been fixed, and performance may be improved in certain situations. Among other things, large 64-bit values should print correctly now. ** gethost no longer causes an exception when trying to throw an exception ** call-with-output-string doesn't segv on closed port Previously call-with-output-string would give a segmentation fault if the string port was closed by the called function. An exception is raised now. ** (ice-9 popen) duplicate pipe fd fix open-pipe, open-input-pipe and open-output-pipe left an extra copy of their pipe file descriptor in the child, which was normally harmless, but it can prevent the parent seeing eof or a broken pipe immediately and has now been fixed. ** source-properties and set-source-properties! fix Properties set with set-source-properties! can now be read back correctly with source-properties. ** SRFI-1 delete equality argument order fixed. In the srfi-1 module delete and delete!, the order of the arguments to the "=" procedure now matches the SRFI-1 specification. ** SRFI-19 date-week-number fix date-week-number now correctly respects the requested day of week starting the week. * Changes to the C interface @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.2 2003/12/14 17:14:40 wiz Exp $ d3 39 a41 11 --- doc/ref/Makefile.in.orig 2004-10-05 05:34:07.000000000 +0200 +++ doc/ref/Makefile.in @@@@ -35,7 +35,7 @@@@ PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @@build@@ host_triplet = @@host@@ -DIST_COMMON = $(guile_TEXINFOS) $(srcdir)/Makefile.am \ +DIST_COMMON = $(info_TEXINFOS) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(srcdir)/stamp-vti \ $(srcdir)/version.texi $(top_srcdir)/am/pre-inst-guile \ ChangeLog mdate-sh texinfo.tex @ 1.2 log @Update to 1.6.4: XXX: Package fails the same regression test 1.6.3 failed (scfi-19). Changes since Guile 1.6.3 (i.e. changes for 1.6.4): * Changes to the distribution ** Various architecture (and compiler optimization) related bugs fixed. These changes should improve the situation on at least ia64, alpha, and powerpc. * Changes to the stand-alone interpreter ** Readline prompt problem fixed. Previously, the readline prompt disappeared when running Guile in non-echoing terminal mode (for example under GDB in Emacs). This has been fixed. ** Printing bug fixed. Previously, the state of writingp in the print state could be altered by recursive calls to printing functions. ** Append mode in hooks. Append mode in hooks (adding the hook last in the list) now works correctly. ** GOOPS/GC bug fixed. The class layout slot, which informs the GC about which slots to GC protect, is now initialized correctly. ** GOOPS class redefinition bug fixed. The class redefinition protocol now properly removes the old accessor methods from their accessors. ** GOOPS method dispatch bug fixed. Previously, the code updating the method cache in generic functions got confused if handed method code created in a null environment (environment = empty list). It now stands every environment imaginable (think about it!). ** GOOPS init-thunks can now be primitive procedures Previously, attempts to provide something else than a closure as value for the #:init-thunk slot option would yield a segmentation fault. Now, it's possible to supply a primitive procedure as init-thunk. Non-allowed values result in an error. ** Garbage collection frequency improved for large malloc heaps The decision when to run the GC is now done in a way that avoids GCs with a small yield for heaps with a large amount of malloced storage. The minimum expected yield for malloc storage is now relative to the heap size, and not a fixed amount as it was previously. * Changes to Scheme functions and syntax ** %fast-slot-ref no longer checks slot boundness This makes the metaclass in (oop goops active-slot) working again. ** eqv? and equal? are now primitive generic functions This means that it is possible to provide custom comparisons for new classes by specializing `eqv?' and `equal?' to those classes. * Changes to the C interface ** New snarf macros: SCM_PRIMITIVE_GENERIC, SCM_PRIMITIVE_GENERIC_1 These provide a way of adding primitive generics which is equivalent to SCM_DEFINE and SCM_DEFINE1. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- doc/ref/Makefile.in.orig 2003-04-21 19:02:49.000000000 +0200 d5 9 a13 9 @@@@ -218,7 +218,7 @@@@ PSS = guile.ps TEXINFOS = guile.texi DATA = $(html_DATA) -DIST_COMMON = $(guile_TEXINFOS) $(top_srcdir)/am/pre-inst-guile \ +DIST_COMMON = $(info_TEXINFOS) $(top_srcdir)/am/pre-inst-guile \ ChangeLog Makefile.am Makefile.in mdate-sh stamp-vti \ texinfo.tex version.texi all: all-am @ 1.1 log @Update Guile to 1.6.1. Changes since Guile 1.6.0: * Changes to the distribution ** Guile now provide and uses an "effective" version number. ** Guile now uses it's own version of libltdl. ** The Emacs interface has been fixed. ** The SRFI C headers are now installed. * Changes to Scheme functions and syntax ** New function: effective-version * Changes to the C interface ** New function: scm_effective_version @ text @d3 1 a3 1 --- doc/ref/Makefile.in.orig Mon Dec 16 13:05:21 2002 d5 1 a5 1 @@@@ -215,7 +215,7 @@@@ @