diff options
author | obache <obache> | 2007-08-02 14:47:24 +0000 |
---|---|---|
committer | obache <obache> | 2007-08-02 14:47:24 +0000 |
commit | 1256d066d11616bd8fe528aaf31f94fd567ff68a (patch) | |
tree | 3ab865398ae263f9309e81c6f277e1350e3d8427 /lang/scm/patches | |
parent | 62039418a134c3aa9266da9d50308faa4ee1967b (diff) | |
download | pkgsrc-1256d066d11616bd8fe528aaf31f94fd567ff68a.tar.gz |
Update scm to 5.5.3 a.k.a 5e3.
Based on patch provided by Aleksej Saushev in PR 36471.
pkgsrc changes:
Enable to build x11 feature (optional, default=on).
Previously, depend on x11, but not build x11 feature.
scm5e3 news:
Richard Harke ported SCM to the Linux-ia64.
SRFI-94 Type-Restricted Numerical Functions.
SRFI-63 uniform array type support expanded to:
A:floC64b inexact 64.bit binary flonum complex
A:floC32b inexact 32.bit binary flonum complex
A:floC16b inexact 16.bit binary flonum complex
A:floR64b inexact 64.bit binary flonum real
A:floR32b inexact 32.bit binary flonum real
A:floR16b inexact 16.bit binary flonum real
A:fixZ32b exact 32.bit binary fixnum
A:fixZ16b exact 16.bit binary fixnum
A:fixZ8b exact 8.bit binary fixnum
A:fixN32b exact 32.bit nonnegative binary fixnum
A:fixN16b exact 16.bit nonnegative binary fixnum
A:fixN8b exact 8.bit nonnegative binary fixnum
A:bool boolean
string char
Radey Shouman has changed LETREC to behave like LETREC*:
* eval.c (ceval_1): Change LETREC behavior to that of LETREC*:
initializers are run in left to right order, and may use
previously evaluated variables bound in the same contour. This
change also applies to LETRECs resulting from internal DEFINE.
* eval.c (macroexp1): Add #ifdef to switch case handling line numbers
in ceval_1 so that they are safely discarded when MEMOIZE_LOCALS is
not #defined. Perhaps line number generation should be disabled in
that case.
* scl.c: Changes to allow compilation with MinGW (gnu-win32);
asinh, acosh, and atanh are not yet supported.
From Aubrey Jaffer:
* indexes.texi (Indexes): Give each index its own node when not in
info mode. Moved index stuff here so it doesn't break
texinfo-every-node-update.
* scm.texi (Index): Replaced nodes under Indexes with node Index
when in info mode; fixes indexing in Emacs 21.4.1.
Converted to use @copying.
(Indexes): Reorganized.
(Data Type Representations): Corrected pattern for specfun and cclo.
* byte.c (subbytes): Added.
(scm_subbytes_read, scm_subbytes_write): Renamed from substring.
* Makefile (dscm4, dscm5): != is string operator in shell.
"mv -f" for previous scm, slibcat, and implcat.
* Init5e2.scm (boot-tail): Don't load ScmInit.scm if *script*.
(string-index, read-line): Defined for login->home-directory, which
may be called before REQUIRE is defined.
* Makefile (dscm4, dscm5): Added randomize_va_space machinations.
(dvi, pdf): New tetex-3.0(-20.FC5) broke them -- fixed.
(SETARCH): Workarounds allow dumping in recent Linux.
* time.c (linux): defined CLKTCK to (sysconf(_SC_CLK_TCK)).
* repl.c (scm_read_numbered): Don't #ifndef MEMOIZED_LOCALS.
* build.scm (dont-memoize-locals): Added feature.
(stack-limit): Removed feature.
* scmfig.h (STACK_LIMIT): Always defined.
(CHECK_STACK): Condition on scm_verbose.
* sys.c (stack_check): Always present.
* Makefile (docs): Added target to make all documentation files;
then invoke xdvi.
* ugsetjmp.s (_setjump, _longjump): For Ultrix VAX circa 1997.
* subr.c (mkbig, adjbig): Improved overflow message.
* mkimpcat.scm (wbtab, rwb-isam): moved to "Simple associations".
(add-source): Use 'source form and check file's existence.
* scl.c (scm_magnitude): Extend dynamic range by eliminating
intermediate expression swell.
(divide): Use "Smith's formula" to extend dynamic range;
but makes an insignificant difference when compiled with -O3.
(atanh, acosh, asinh): define if #ifndef HAVE_ATANH.
* scmfig.h (HAVE_ATANH): Decides whether atanh, asinh, and acosh
are supported.
* r4rstest.scm (5 2 1): Expose Bigloo tprint redefinition bug.
(test-bignum): Convert test bignums from strings.
(have-bignums?): Check bignum arithmetic works.
(test-inexact): Do complex tests only if non-real numbers are
supported.
(test-inexact): Added equal? tests.
(test-inexact): Test for -0.0 lossage.
(test-inexact): Check that / and magnitude work for
very large and very small complex numbers (1e300; 1e-300);
Diffstat (limited to 'lang/scm/patches')
-rw-r--r-- | lang/scm/patches/patch-aa | 36 | ||||
-rw-r--r-- | lang/scm/patches/patch-ab | 14 |
2 files changed, 34 insertions, 16 deletions
diff --git a/lang/scm/patches/patch-aa b/lang/scm/patches/patch-aa index de45641556c..45e4d9b8667 100644 --- a/lang/scm/patches/patch-aa +++ b/lang/scm/patches/patch-aa @@ -1,6 +1,6 @@ -$NetBSD: patch-aa,v 1.3 2006/02/19 17:50:11 joerg Exp $ +$NetBSD: patch-aa,v 1.4 2007/08/02 14:47:25 obache Exp $ ---- Makefile.orig 2005-06-24 01:20:35.000000000 +0000 +--- Makefile.orig 2006-10-25 01:47:17.000000000 +0000 +++ Makefile @@ -44,7 +44,7 @@ SHELL = /bin/sh @@ -11,20 +11,38 @@ $NetBSD: patch-aa,v 1.3 2006/02/19 17:50:11 joerg Exp $ #LD = $(CC) -g LD = $(CC) SCMLIT = ./scmlit -@@ -97,7 +97,9 @@ ofiles = scm.o time.o repl.o scl.o sys.o - # ramap.o +@@ -86,7 +86,7 @@ srcdir.mk: Makefile + echo "srcdir=`pwd`/" >> srcdir.mk + #srcdir=$(HOME)/scm/ + #srcdir=/usr/local/src/scm/ +-include srcdir.mk ++#include srcdir.mk + + # directory where COPYING and InitXXX.scm reside. + #IMPLPATH = /usr/local/src/scm/ +@@ -110,7 +110,9 @@ ofiles = scm.o time.o repl.o scl.o sys.o + # continue-ia64.o ifiles = Init$(VERSION).scm Transcen.scm Link.scm Macro.scm Macexp.scm \ Tscript.scm compile.scm Iedline.scm Idiffer.scm -hobfiles = hobbit.scm scmhob.scm scmhob.h +hobsrcs = hobbit.scm scmhob.scm +hobincs = scmhob.h +hobfiles = $(hobsrcs) $(hobincs) + turfiles = turtlegr.c turtle grtest.scm xafiles = xatoms.scm x11.scm xevent.scm keysymdef.scm xfiles = x.c x.h xgen.scm xevent.h inc2scm $(xafiles) +@@ -249,7 +251,7 @@ libscm.opt: + echo "-F engineering-notation" >> libscm.opt + echo "-F dynamic-linking" >> libscm.opt + mylib: libscm.a +-libscm.a: libscm.opt ++libscm.a: libscm.opt scmlit + $(BUILD) -t lib -f libscm.opt + libtest: libscm.a libtest.c + $(LD) -o libtest libtest.c libscm.a -ldl -lm -lc +@@ -420,12 +422,12 @@ $(PREVDOCS)scm.info: srcdir.mk Makefile -@@ -396,12 +398,12 @@ $(PREVDOCS)scm.info: srcdir.mk Makefile - - rpm_prefix=/usr/src/redhat/ + rpm_prefix=$(HOME)/rpmbuild/ -prefix = /usr/local/ +prefix = $(PREFIX)/ @@ -37,7 +55,7 @@ $NetBSD: patch-aa,v 1.3 2006/02/19 17:50:11 joerg Exp $ # directory where `make install' will put manual page. mandir = $(prefix)man/ man1dir = $(mandir)man1/ -@@ -453,7 +455,7 @@ $(infodir)Xlibscm.info.gz: $(infodir)Xli +@@ -477,7 +479,7 @@ $(infodir)Xlibscm.info.gz: $(infodir)Xli $(infodir)hobbit.info.gz: $(infodir)hobbit.info gzip -f $(infodir)hobbit.info @@ -46,7 +64,7 @@ $NetBSD: patch-aa,v 1.3 2006/02/19 17:50:11 joerg Exp $ test -d $(bindir) || mkdir $(bindir) test -d $(mandir) || mkdir $(mandir) test -d $(man1dir) || mkdir $(man1dir) -@@ -462,16 +464,16 @@ install: scm.1 db.so wbtab.scm rwb-isam. +@@ -486,16 +488,16 @@ install: scm.1 db.so wbtab.scm rwb-isam. -cp scm.1 $(man1dir) test -d $(libdir) || mkdir $(libdir) test -d $(libscmdir) || mkdir $(libscmdir) diff --git a/lang/scm/patches/patch-ab b/lang/scm/patches/patch-ab index 99548dcf44a..d5ea982bf24 100644 --- a/lang/scm/patches/patch-ab +++ b/lang/scm/patches/patch-ab @@ -1,13 +1,13 @@ -$NetBSD: patch-ab,v 1.1.1.1 2003/10/04 20:31:23 agc Exp $ +$NetBSD: patch-ab,v 1.2 2007/08/02 14:47:25 obache Exp $ ---- socket.c.orig 2003-01-02 11:44:31.000000000 -0800 +--- socket.c.orig 2006-01-07 02:17:38.000000000 +0000 +++ socket.c -@@ -146,7 +146,7 @@ SCM l_hostinfo(name) +@@ -149,7 +149,7 @@ SCM l_hostinfo(name) struct in_addr inad; - char **argv; + const char **argv; int i = 0; --#ifndef linux -+#if !(defined(linux) || defined(__NetBSD__)) - if UNBNDP(name) { +-# ifndef linux ++# if !(defined(linux) || defined(__NetBSD__)) + if (UNBNDP(name)) { DEFER_INTS; SYSCALL(entry = gethostent();); |