diff options
author | danw <danw@pkgsrc.org> | 2004-05-23 23:28:29 +0000 |
---|---|---|
committer | danw <danw@pkgsrc.org> | 2004-05-23 23:28:29 +0000 |
commit | 6e8f676783e80d5004357873cec81d74fd8fff28 (patch) | |
tree | 0a42eca1c1ab7788ea2342975f551b1a6729f673 /lang | |
parent | 437e85176cf4c06d971f68c1dfbcc4bf55f43fbb (diff) | |
download | pkgsrc-6e8f676783e80d5004357873cec81d74fd8fff28.tar.gz |
malloc.h fixes for darwin, plus a handful of other small fixes for
problems found after fixing malloc problems
Diffstat (limited to 'lang')
-rw-r--r-- | lang/tinyscheme/distinfo | 6 | ||||
-rw-r--r-- | lang/tinyscheme/patches/patch-aa | 4 | ||||
-rw-r--r-- | lang/tinyscheme/patches/patch-ab | 27 | ||||
-rw-r--r-- | lang/vslisp/distinfo | 3 | ||||
-rw-r--r-- | lang/vslisp/patches/patch-af | 15 |
5 files changed, 41 insertions, 14 deletions
diff --git a/lang/tinyscheme/distinfo b/lang/tinyscheme/distinfo index 3c1c824ca76..cb4eae7b127 100644 --- a/lang/tinyscheme/distinfo +++ b/lang/tinyscheme/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.4 2004/04/08 15:47:49 kristerw Exp $ +$NetBSD: distinfo,v 1.5 2004/05/23 23:28:29 danw Exp $ SHA1 (tinyscheme-1.33.tar.gz) = c596b428487c001d31f812137673a2683b352fae Size (tinyscheme-1.33.tar.gz) = 52733 bytes -SHA1 (patch-aa) = d5e9006396c3d894f78a56a49b0d67bf18a1b6f2 -SHA1 (patch-ab) = 4c0a07947323410c26760128ba86cac99a662549 +SHA1 (patch-aa) = 8760042198cbcc202106d0840a6b4627ab599cd0 +SHA1 (patch-ab) = fc6ce2db6fd4344daebd7a9c7e5562179eee17d0 diff --git a/lang/tinyscheme/patches/patch-aa b/lang/tinyscheme/patches/patch-aa index 7dc6a691c3d..8c55d971f42 100644 --- a/lang/tinyscheme/patches/patch-aa +++ b/lang/tinyscheme/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.2 2002/10/30 07:56:09 agc Exp $ +$NetBSD: patch-aa,v 1.3 2004/05/23 23:28:29 danw Exp $ --- makefile 2002/10/24 09:41:47 1.1 +++ makefile 2002/10/24 09:42:36 @@ -52,7 +52,7 @@ $NetBSD: patch-aa,v 1.2 2002/10/30 07:56:09 agc Exp $ scheme$(EXE_EXT): $(OBJS) - $(CC) -o $@ $(DEBUG) $(OBJS) $(SYS_LIBS) -+ ${LIBTOOL} --mode=link ${CC} -o $@ ${DEBUG} ${OBJS} ${SYS_LIBS} ${LIBS:.a=.la} -o scheme${EXE_EXT} ++ ${LIBTOOL} --mode=link ${CC} ${DEBUG} ${OBJS} ${SYS_LIBS} ${LIBS:.a=.la} -o scheme${EXE_EXT} $(STATICLIBTARGET): $(OBJS) - $(AR) $@ $(OBJS) diff --git a/lang/tinyscheme/patches/patch-ab b/lang/tinyscheme/patches/patch-ab index e729a174471..95f5515dcc8 100644 --- a/lang/tinyscheme/patches/patch-ab +++ b/lang/tinyscheme/patches/patch-ab @@ -1,8 +1,19 @@ -$NetBSD: patch-ab,v 1.2 2004/04/08 15:47:49 kristerw Exp $ +$NetBSD: patch-ab,v 1.3 2004/05/23 23:28:29 danw Exp $ ---- scheme.c.orig 2003-01-07 20:40:51.000000000 +0100 -+++ scheme.c 2004-04-08 17:40:03.000000000 +0200 -@@ -91,8 +91,16 @@ +--- 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 ++#ifdef macintosh + static int stricmp(const char *s1, const char *s2) + { + unsigned char c1, c2; +@@ -91,8 +89,16 @@ static const char *strlwr(char *s) { # define prompt "> " #endif @@ -20,7 +31,7 @@ $NetBSD: patch-ab,v 1.2 2004/04/08 15:47:49 kristerw Exp $ #endif #ifndef FIRST_CELLSEGS -@@ -569,7 +577,7 @@ +@@ -569,7 +575,7 @@ static int alloc_cellseg(scheme *sc, int i = ++sc->last_cell_seg ; sc->alloc_seg[i] = cp; /* adjust in TYPE_BITS-bit boundary */ @@ -29,7 +40,7 @@ $NetBSD: patch-ab,v 1.2 2004/04/08 15:47:49 kristerw Exp $ cp=(char*)(adj*((long)cp/adj+1)); } /* insert new segment in address order */ -@@ -2055,7 +2063,7 @@ +@@ -2055,7 +2061,7 @@ struct dump_stack_frame { static void s_save(scheme *sc, enum scheme_opcodes op, pointer args, pointer code) { @@ -38,7 +49,7 @@ $NetBSD: patch-ab,v 1.2 2004/04/08 15:47:49 kristerw Exp $ struct dump_stack_frame *next_frame; /* enough room for the next frame? */ -@@ -2075,7 +2083,7 @@ +@@ -2075,7 +2081,7 @@ static void s_save(scheme *sc, enum sche static pointer _s_return(scheme *sc, pointer a) { @@ -47,7 +58,7 @@ $NetBSD: patch-ab,v 1.2 2004/04/08 15:47:49 kristerw Exp $ struct dump_stack_frame *frame; sc->value = (a); -@@ -2115,7 +2123,7 @@ +@@ -2115,7 +2121,7 @@ static void dump_stack_free(scheme *sc) static INLINE void dump_stack_mark(scheme *sc) { diff --git a/lang/vslisp/distinfo b/lang/vslisp/distinfo index b59649b1cea..5b54082e4f6 100644 --- a/lang/vslisp/distinfo +++ b/lang/vslisp/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.3 2002/03/15 00:22:42 jmc Exp $ +$NetBSD: distinfo,v 1.4 2004/05/23 23:28:29 danw Exp $ SHA1 (vslisp-4.0-1.tar.gz) = ccd21360f6bd2a7f47638797a7a5d25d2f8cb797 Size (vslisp-4.0-1.tar.gz) = 167403 bytes @@ -7,3 +7,4 @@ SHA1 (patch-ab) = 645d4a4ffd6949b9406083744b71676220bf19be SHA1 (patch-ac) = 490975b1e19ee6aaaf05fb2ade1d79e805257540 SHA1 (patch-ad) = a08e31d1c11aa8aae909c2641f4f80f4ca39413a SHA1 (patch-ae) = b39473d8008d48ba19fc980e374bc95c28996705 +SHA1 (patch-af) = 8cd43805f9951d61535b69d3d309dbc705737028 diff --git a/lang/vslisp/patches/patch-af b/lang/vslisp/patches/patch-af new file mode 100644 index 00000000000..58bd051b32d --- /dev/null +++ b/lang/vslisp/patches/patch-af @@ -0,0 +1,15 @@ +$NetBSD: patch-af,v 1.1 2004/05/23 23:28:29 danw Exp $ + +--- src/functions/funct.c.orig Sun May 7 16:26:24 2000 ++++ src/functions/funct.c +@@ -18,10 +18,6 @@ + #include "../WIN/sysdeps.h" + #endif + +-#ifndef WINDOWS +-#include <malloc.h> +-#endif +- + #include "l_defs.h" + + %%L_Gotoxy,gotoxy; |