pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Update tinyscheme from version 1.33 to 1.35, to pick u...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0573b966f966
branches:  trunk
changeset: 491476:0573b966f966
user:      agc <agc%pkgsrc.org@localhost>
date:      Thu Mar 24 16:30:45 2005 +0000

description:
Update tinyscheme from version 1.33 to 1.35, to pick up bugfixes:

     Version 1.35
          Todd Showalter discovered that the number of free cells reported
          after GC was incorrect, which could also cause unnecessary allocations.

     Version 1.34
          Long missing version. Lots of bugfixes have accumulated in my email, so
          I had to start using them. In this version, Keenan Pepper has submitted
          a bugfix for the string comparison library procedure, Wouter Boeke
          modified some code that was casting to the wrong type and crashed on
          some machines, "SheppardCo" submitted a replacement "modulo" code and
          Scott Fenton submitted lots of corrections that shut up some compiler
          warnings. Brian Maher submitted instructions on how to build on OS-X.
          I have to dig deeper into my mailbox and find earlier emails, too.

Additional pkgsrc fix: use BSD_INSTALL_LIB to install libraries.

diffstat:

 doc/CHANGES                      |     3 +-
 lang/tinyscheme/Makefile         |     5 +-
 lang/tinyscheme/distinfo         |    12 +-
 lang/tinyscheme/patches/patch-aa |   216 +-
 lang/tinyscheme/patches/patch-ab |  8957 +++++++++++++++++++++++++++++++++++++-
 5 files changed, 9073 insertions(+), 120 deletions(-)

diffs (truncated from 9252 to 300 lines):

diff -r fa9ba69c2cae -r 0573b966f966 doc/CHANGES
--- a/doc/CHANGES       Thu Mar 24 16:27:40 2005 +0000
+++ b/doc/CHANGES       Thu Mar 24 16:30:45 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.9608 2005/03/24 16:06:04 jmcneill Exp $
+$NetBSD: CHANGES,v 1.9609 2005/03/24 16:31:35 agc Exp $
 
 Changes to the packages collection and infrastructure in 2005:
 
@@ -1717,3 +1717,4 @@
        Updated firefox to 1.0.2 [taya 2005-03-24]
        Updated firefox-gtk1 to 1.0.2 [taya 2005-03-24]
        Updated fluxbox to 0.9.12 [jmcneill 2005-03-24]
+       Updated tinyscheme to 1.35 [agc 2005-03-24]
diff -r fa9ba69c2cae -r 0573b966f966 lang/tinyscheme/Makefile
--- a/lang/tinyscheme/Makefile  Thu Mar 24 16:27:40 2005 +0000
+++ b/lang/tinyscheme/Makefile  Thu Mar 24 16:30:45 2005 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.6 2004/10/03 00:15:03 tv Exp $
+# $NetBSD: Makefile,v 1.7 2005/03/24 16:30:45 agc Exp $
 
-DISTNAME=      tinyscheme-1.33
-PKGREVISION=   2
+DISTNAME=      tinyscheme-1.35
 CATEGORIES=    lang
 MASTER_SITES=  http://tinyscheme.sourceforge.net/
 
diff -r fa9ba69c2cae -r 0573b966f966 lang/tinyscheme/distinfo
--- a/lang/tinyscheme/distinfo  Thu Mar 24 16:27:40 2005 +0000
+++ b/lang/tinyscheme/distinfo  Thu Mar 24 16:30:45 2005 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.6 2005/02/24 09:03:12 agc Exp $
+$NetBSD: distinfo,v 1.7 2005/03/24 16:30:45 agc Exp $
 
-SHA1 (tinyscheme-1.33.tar.gz) = c596b428487c001d31f812137673a2683b352fae
-RMD160 (tinyscheme-1.33.tar.gz) = 2f5b7985543f981724b6178ec26e86616ca04d6f
-Size (tinyscheme-1.33.tar.gz) = 52733 bytes
-SHA1 (patch-aa) = 8760042198cbcc202106d0840a6b4627ab599cd0
-SHA1 (patch-ab) = fc6ce2db6fd4344daebd7a9c7e5562179eee17d0
+SHA1 (tinyscheme-1.35.tar.gz) = 02b740020bd68648f78207dd4a5e39bb57151ece
+RMD160 (tinyscheme-1.35.tar.gz) = 4ad93b7545a1792ffc0b58a4552d8f7dc207279c
+Size (tinyscheme-1.35.tar.gz) = 54363 bytes
+SHA1 (patch-aa) = 19f1548d94e0993a175afc6cb704788efd43107f
+SHA1 (patch-ab) = a67d8db645c293863cf992df41aaf9d3f6bfe006
diff -r fa9ba69c2cae -r 0573b966f966 lang/tinyscheme/patches/patch-aa
--- a/lang/tinyscheme/patches/patch-aa  Thu Mar 24 16:27:40 2005 +0000
+++ b/lang/tinyscheme/patches/patch-aa  Thu Mar 24 16:30:45 2005 +0000
@@ -1,69 +1,179 @@
-$NetBSD: patch-aa,v 1.3 2004/05/23 23:28:29 danw Exp $
+$NetBSD: patch-aa,v 1.4 2005/03/24 16:30:45 agc Exp $
 
---- makefile   2002/10/24 09:41:47     1.1
-+++ makefile   2002/10/24 09:42:36
-@@ -18,7 +18,7 @@
- #AR= echo
- 
- # Unix, generally 
--CC = gcc -fpic 
+--- makefile   2003-01-07 19:01:04.000000000 +0000
++++ makefile   2005-03-24 16:19:11.000000000 +0000
+@@ -1,84 +1,90 @@
+-# Makefile for TinyScheme 
+-# Time-stamp: <2002-06-24 14:13:27 gildea> 
+-  
+-# Windows/2000 
+-#CC = cl -nologo 
+-#DEBUG= -W3 -Z7 -MD 
+-#DL_FLAGS= 
+-#SYS_LIBS= 
+-#Osuf=obj 
+-#SOsuf=dll 
+-#LIBsuf=.lib
+-#EXE_EXT=.exe 
+-#LD = link -nologo 
+-#LDFLAGS = -debug -map -dll -incremental:no 
+-#LIBPREFIX = 
+-#OUT = -out:$@ 
+-#RM= -del
+-#AR= echo
+-
+-# Unix, generally 
+-CC = gcc -fpic 
+-DEBUG=-g -Wall -Wno-char-subscripts -O 
+-Osuf=o 
+-SOsuf=so 
+-LIBsuf=a
+-EXE_EXT=
+-LIBPREFIX=lib
+-OUT = -o $@ 
+-RM= -rm -f
+-AR= ar crs
+- 
+-# Linux 
+-LD = gcc 
+-LDFLAGS = -shared 
+-DEBUG=-g -Wno-char-subscripts -O
+-SYS_LIBS= -ldl
+-PLATFORM_FEATURES= -DSUN_DL=1
+-
+- 
+-# Solaris 
+-#SYS_LIBS= -ldl -lc 
+-#Osuf=o 
+-#SOsuf=so 
+-#EXE_EXT= 
+-#LD = ld 
+-#LDFLAGS = -G -Bsymbolic -z text 
+-#LIBPREFIX = lib 
+-#OUT = -o $@ 
+- 
+-FEATURES = $(PLATFORM_FEATURES) -DUSE_DL=1 -DUSE_MATH=0 -DUSE_ASCII_NAMES=0 
+- 
+-OBJS = scheme.$(Osuf) dynload.$(Osuf) 
+- 
+-LIBTARGET = $(LIBPREFIX)tinyscheme.$(SOsuf) 
+-STATICLIBTARGET = $(LIBPREFIX)tinyscheme.$(LIBsuf)
+-
+-all: $(LIBTARGET) $(STATICLIBTARGET) scheme$(EXE_EXT)
+-
+-%.$(Osuf): %.c 
+-      $(CC) -I. -c $(DEBUG) $(FEATURES) $(DL_FLAGS) $< 
+-
+-$(LIBTARGET): $(OBJS) 
+-      $(LD) $(LDFLAGS) $(OUT) $(OBJS) $(SYS_LIBS) 
+-
+-scheme$(EXE_EXT): $(OBJS) 
+-      $(CC) -o $@ $(DEBUG) $(OBJS) $(SYS_LIBS) 
+-
+-$(STATICLIBTARGET): $(OBJS)
+-      $(AR) $@ $(OBJS)
+-
+-$(OBJS): scheme.h scheme-private.h opdefines.h
+-dynload.$(Osuf): dynload.h 
+-
+-clean: 
+-      $(RM) $(OBJS) $(LIBTARGET) $(STATICLIBTARGET) scheme$(EXE_EXT)
+-      $(RM) tinyscheme.ilk tinyscheme.map tinyscheme.pdb tinyscheme.exp
+-      $(RM) scheme.ilk scheme.map scheme.pdb scheme.lib scheme.exp
+-      $(RM) *~
+-
+-TAGS_SRCS = scheme.h scheme.c dynload.h dynload.c
+-
+-tags: TAGS 
+-TAGS: $(TAGS_SRCS) 
+-      etags $(TAGS_SRCS) 
++# Makefile for TinyScheme 
++# Time-stamp: <2002-06-24 14:13:27 gildea> 
++  
++# Windows/2000 
++#CC = cl -nologo 
++#DEBUG= -W3 -Z7 -MD 
++#DL_FLAGS= 
++#SYS_LIBS= 
++#Osuf=obj 
++#SOsuf=dll 
++#LIBsuf=.lib
++#EXE_EXT=.exe 
++#LD = link -nologo 
++#LDFLAGS = -debug -map -dll -incremental:no 
++#LIBPREFIX = 
++#OUT = -out:$@ 
++#RM= -del
++#AR= echo
++
++# Unix, generally 
 +CC = gcc
- DEBUG=-g -Wall -Wno-char-subscripts -O 
- Osuf=o 
- SOsuf=so 
-@@ -28,12 +28,13 @@
- OUT = -o $@ 
- RM= -rm -f
- AR= ar crs
++DEBUG=-g -Wall -Wno-char-subscripts -O 
++Osuf=o 
++SOsuf=so 
++LIBsuf=a
++EXE_EXT=
++LIBPREFIX=lib
++OUT = -o $@ 
++RM= -rm -f
++AR= ar crs
 +SYS_LIBS= -lm
-  
- # Linux 
- LD = gcc 
- LDFLAGS = -shared 
- DEBUG=-g -Wno-char-subscripts -O
--SYS_LIBS= -ldl
++ 
++# Linux 
++LD = gcc 
++LDFLAGS = -shared 
++DEBUG=-g -Wno-char-subscripts -O
 +#SYS_LIBS= -ldl
- PLATFORM_FEATURES= -DSUN_DL=1
- 
-  
-@@ -47,26 +48,31 @@
- #LIBPREFIX = lib 
- #OUT = -o $@ 
-  
--FEATURES = $(PLATFORM_FEATURES) -DUSE_DL=1 -DUSE_MATH=0 -DUSE_ASCII_NAMES=0 
++PLATFORM_FEATURES= -DSUN_DL=1
++
++ 
++# Solaris 
++#SYS_LIBS= -ldl -lc 
++#Osuf=o 
++#SOsuf=so 
++#EXE_EXT= 
++#LD = ld 
++#LDFLAGS = -G -Bsymbolic -z text 
++#LIBPREFIX = lib 
++#OUT = -o $@ 
++ 
 +DIRS= -DTINYSCHEMEPREFIX='"${PREFIX}"' -DTINYSCHEMEDIR='"/share/tinyscheme/"'
 +FEATURES = ${DIRS} $(PLATFORM_FEATURES) -DUSE_DL=1 -DUSE_MATH=0 -DUSE_ASCII_NAMES=0 
-  
- OBJS = scheme.$(Osuf) dynload.$(Osuf) 
-  
- LIBTARGET = $(LIBPREFIX)tinyscheme.$(SOsuf) 
- STATICLIBTARGET = $(LIBPREFIX)tinyscheme.$(LIBsuf)
- 
--all: $(LIBTARGET) $(STATICLIBTARGET) scheme$(EXE_EXT)
++ 
++OBJS = scheme.$(Osuf) dynload.$(Osuf) 
++ 
++LIBTARGET = $(LIBPREFIX)tinyscheme.$(SOsuf) 
++STATICLIBTARGET = $(LIBPREFIX)tinyscheme.$(LIBsuf)
++
 +all: $(STATICLIBTARGET) scheme$(EXE_EXT)
- 
--%.$(Osuf): %.c 
--      $(CC) -I. -c $(DEBUG) $(FEATURES) $(DL_FLAGS) $< 
--
--$(LIBTARGET): $(OBJS) 
--      $(LD) $(LDFLAGS) $(OUT) $(OBJS) $(SYS_LIBS) 
++  
 +.c.o:
 +      ${LIBTOOL} --mode=compile ${CC} -I. -c $(DEBUG) $(FEATURES) $(DL_FLAGS) $< 
- 
- scheme$(EXE_EXT): $(OBJS) 
--      $(CC) -o $@ $(DEBUG) $(OBJS) $(SYS_LIBS) 
++
++scheme$(EXE_EXT): $(OBJS) 
 +      ${LIBTOOL} --mode=link ${CC} ${DEBUG} ${OBJS} ${SYS_LIBS} ${LIBS:.a=.la} -o scheme${EXE_EXT}
- 
- $(STATICLIBTARGET): $(OBJS)
--      $(AR) $@ $(OBJS)
-+      ${LIBTOOL} --mode=link ${CC} -o ${.TARGET:.a=.la} ${OBJS:.o=.lo} -rpath ${PREFIX}/lib -version-info 1:31
++
++$(STATICLIBTARGET): $(OBJS)
++      ${LIBTOOL} --mode=link ${CC} -o ${.TARGET:.a=.la} ${OBJS:.o=.lo} -rpath ${PREFIX}/lib -version-info 1:35
 +
 +install: all
-+      ${LIBTOOL} --mode=install ${BSD_INSTALL_DATA} ${STATICLIBTARGET:.a=.la} ${PREFIX}/lib
++      ${LIBTOOL} --mode=install ${BSD_INSTALL_LIB} ${STATICLIBTARGET:.a=.la} ${PREFIX}/lib
 +      ${LIBTOOL} --mode=install ${BSD_INSTALL_PROGRAM} scheme${EXE_EXT} ${PREFIX}/bin/tinyscheme
 +      ${BSD_INSTALL_DATA_DIR} ${PREFIX}/share/tinyscheme
 +      ${BSD_INSTALL_DATA} init.scm ${PREFIX}/share/tinyscheme
 +      ${BSD_INSTALL_DATA} scheme.h ${PREFIX}/include/tinyscheme.h
- 
- $(OBJS): scheme.h scheme-private.h opdefines.h
- dynload.$(Osuf): dynload.h 
++
++$(OBJS): scheme.h scheme-private.h opdefines.h
++dynload.$(Osuf): dynload.h 
++
++clean: 
++      $(RM) $(OBJS) $(LIBTARGET) $(STATICLIBTARGET) scheme$(EXE_EXT)
++      $(RM) tinyscheme.ilk tinyscheme.map tinyscheme.pdb tinyscheme.exp
++      $(RM) scheme.ilk scheme.map scheme.pdb scheme.lib scheme.exp
++      $(RM) *~
++
++TAGS_SRCS = scheme.h scheme.c dynload.h dynload.c
++
++tags: TAGS 
++TAGS: $(TAGS_SRCS) 
++      etags $(TAGS_SRCS) 
diff -r fa9ba69c2cae -r 0573b966f966 lang/tinyscheme/patches/patch-ab
--- a/lang/tinyscheme/patches/patch-ab  Thu Mar 24 16:27:40 2005 +0000
+++ b/lang/tinyscheme/patches/patch-ab  Thu Mar 24 16:30:45 2005 +0000
@@ -1,22 +1,4552 @@
-$NetBSD: patch-ab,v 1.3 2004/05/23 23:28:29 danw Exp $
+$NetBSD: patch-ab,v 1.4 2005/03/24 16:30:45 agc Exp $
 
---- scheme.c.orig      Tue Jan  7 14:40:51 2003
-+++ scheme.c
-@@ -57,9 +57,7 @@
- 
- #include <string.h>
- #include <stdlib.h>
--#ifndef macintosh
--# include <malloc.h>
--#else
+--- scheme.c.orig      2004-06-22 07:13:39.000000000 +0100
++++ scheme.c   2005-03-24 16:23:49.000000000 +0000
+@@ -1,4450 +1,4457 @@
+-/* T I N Y S C H E M E    1 . 3 5



Home | Main Index | Thread Index | Old Index