Attached diff updates tinyscheme to 1.41 which was released 4/14. A
patch was removed so apply with -E. Tested on amd64.

oks?

Bugs fixed:
 #3020389 - Added makefile section for Mac OS X  (SL)
 #3286135 - Fixed num_mod routine which caused errors in use of modulo
 #3290232 - Corrected version number shown on startup  (GM)
 #3394882 - Added missing #if in opdefines.h around get and put (DC)
 #3395547 - Fix for the modulo procedure  (DC)
 #3400290 - Optimized append to make it an O(n) operation  (DC)
 #3493926 - Corrected flag used when building shared files on OSX (J)

R5RS related changes:
 #2866196 - Parser does not handle delimiters correctly
 #3395548 - Add a decimal point to inexact numbers in atom2str (DC)
 #3399331 - Make min/max return inexact when any argument is inexact
 #3399332 - Compatability fix for expt.
 #3399335 - Optional radix for string->number and number->string (DC)
 #3400202 - Append with one argument should not return a list (DC)
 #3400284 - Compatability fix for integer?

Other changes:
 - Added flags to makefile for MinGW/MSYS (TC)
 - Moved variable declarations to avoid warnings with some compilers
 - Don't print space after initial #( when printing vectors.
 - Minor optimization for is_nonneg().
 - No need to round integers in OP_ROUND (#3400284)
 - Fixes to code that reports line number with error (RC)

-- 
James Turner
Index: Makefile
===================================================================
RCS file: /cvs/ports/lang/tinyscheme/Makefile,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 Makefile
--- Makefile    11 Mar 2013 11:20:28 -0000      1.2
+++ Makefile    17 Apr 2013 17:36:44 -0000
@@ -2,7 +2,7 @@
 
 COMMENT=       lightweight Scheme implementation with subset of R5RS
 
-DISTNAME=      tinyscheme-1.40
+DISTNAME=      tinyscheme-1.41
 CATEGORIES=    lang
 
 HOMEPAGE=      http://tinyscheme.sourceforge.net/home.html
@@ -26,4 +26,4 @@ do-install:
        ${INSTALL_DATA_DIR} ${PREFIX}/share/tinyscheme/
        ${INSTALL_DATA} ${WRKSRC}/init.scm ${PREFIX}/share/tinyscheme
 
-.include <bsd.port.mk>
\ No newline at end of file
+.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/lang/tinyscheme/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 distinfo
--- distinfo    26 Jun 2012 19:53:38 -0000      1.1.1.1
+++ distinfo    17 Apr 2013 17:36:44 -0000
@@ -1,5 +1,2 @@
-MD5 (tinyscheme-1.40.tar.gz) = d2xCrFUo0V6JfvBS+ksEIA==
-RMD160 (tinyscheme-1.40.tar.gz) = HqwIepDCwujKX0zvvFZguWSR5LM=
-SHA1 (tinyscheme-1.40.tar.gz) = 4D96xB8FF7s17O0ncseeudtC6oI=
-SHA256 (tinyscheme-1.40.tar.gz) = xZTIRjOx3P6DLgQWy8n4iba641KEXhRQOIMRmpQaEvw=
-SIZE (tinyscheme-1.40.tar.gz) = 60160
+SHA256 (tinyscheme-1.41.tar.gz) = 6sAQNJTHVRkrno8QRU2fmPK71NNS4Eb3slNDmj+ZGZk=
+SIZE (tinyscheme-1.41.tar.gz) = 61761
Index: patches/patch-makefile
===================================================================
RCS file: /cvs/ports/lang/tinyscheme/patches/patch-makefile,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 patch-makefile
--- patches/patch-makefile      26 Jun 2012 19:53:38 -0000      1.1.1.1
+++ patches/patch-makefile      17 Apr 2013 17:36:44 -0000
@@ -1,12 +1,12 @@
 $OpenBSD: patch-makefile,v 1.1.1.1 2012/06/26 19:53:38 jasper Exp $
---- makefile.orig      Sun Jan 16 08:51:17 2011
-+++ makefile   Mon Jun 18 12:02:25 2012
+--- makefile.orig      Sun Apr 14 16:08:33 2013
++++ makefile   Wed Apr 17 13:33:14 2013
 @@ -18,7 +18,7 @@
  #AR= echo
  
  # Unix, generally
--CC = gcc -fpic
-+CC ?= gcc -fpic
+-CC = gcc -fpic -pedantic
++CC ?= gcc -fpic -pedantic
  DEBUG=-g -Wall -Wno-char-subscripts -O
  Osuf=o
  SOsuf=so
@@ -15,16 +15,15 @@ $OpenBSD: patch-makefile,v 1.1.1.1 2012/
  
  # Linux
 -LD = gcc
--LDFLAGS = -shared
 +LD ?= gcc
-+LDFLAGS = -shared 
+ LDFLAGS = -shared
  DEBUG=-g -Wno-char-subscripts -O
--SYS_LIBS= -ldl
+-SYS_LIBS= -ldl -lm
 +SYS_LIBS= -lm
  PLATFORM_FEATURES= -DSUN_DL=1
  
  # Cygwin
-@@ -66,7 +66,7 @@ $(LIBTARGET): $(OBJS)
+@@ -77,7 +77,7 @@ $(LIBTARGET): $(OBJS)
        $(LD) $(LDFLAGS) $(OUT) $(OBJS) $(SYS_LIBS)
  
  scheme$(EXE_EXT): $(OBJS)
Index: patches/patch-scheme_c
===================================================================
RCS file: patches/patch-scheme_c
diff -N patches/patch-scheme_c
--- patches/patch-scheme_c      26 Jun 2012 19:53:38 -0000      1.1.1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,15 +0,0 @@
-$OpenBSD: patch-scheme_c,v 1.1.1.1 2012/06/26 19:53:38 jasper Exp $
-
-Report correct version.
-
---- scheme.c.orig      Mon Jun 18 12:07:53 2012
-+++ scheme.c   Mon Jun 18 12:08:00 2012
-@@ -62,7 +62,7 @@
-  *  Basic memory allocation units
-  */
- 
--#define banner "TinyScheme 1.39"
-+#define banner "TinyScheme 1.40"
- 
- #include <string.h>
- #include <stdlib.h>

Reply via email to