pkgsrc/lang/guile/patches/patch-ag
gdt 30d0b369b9 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
2007-07-20 00:09:21 +00:00

19 lines
478 B
Text

$NetBSD: patch-ag,v 1.5 2007/07/20 00:09:22 gdt Exp $
solaris-2.9 does not have stdint.h but does have inttypes.h
--- libguile/c-tokenize.c.orig 2007-06-13 18:00:56.000000000 -0400
+++ libguile/c-tokenize.c
@@ -39,7 +39,12 @@
#define __STDC_LIMIT_MACROS 1
#endif
+#ifdef HAVE_STDINT_H
+#include <stdint.h> /* May break IA64 test-noansi-r */
+#else
#include <inttypes.h>
+#endif
+
typedef int8_t flex_int8_t;
typedef uint8_t flex_uint8_t;
typedef int16_t flex_int16_t;