summaryrefslogtreecommitdiff
path: root/lang/vscm
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2012-06-23 21:30:05 +0000
committerdholland <dholland@pkgsrc.org>2012-06-23 21:30:05 +0000
commit8a6abfd99c7cfcd0a435b526c990606c0db1f1d1 (patch)
treeafb2c923faf35da24e3b1e11b574af14ac8bcdac /lang/vscm
parentded5f12ed2b0e211cda489d1ecdacdd1e6ceb648 (diff)
downloadpkgsrc-8a6abfd99c7cfcd0a435b526c990606c0db1f1d1.tar.gz
Disable a private and mostly broken reimplementation of strerror().
Should fix Solaris build.
Diffstat (limited to 'lang/vscm')
-rw-r--r--lang/vscm/distinfo4
-rw-r--r--lang/vscm/patches/patch-ab24
2 files changed, 21 insertions, 7 deletions
diff --git a/lang/vscm/distinfo b/lang/vscm/distinfo
index c155bfcc21e..2d3c53d6e82 100644
--- a/lang/vscm/distinfo
+++ b/lang/vscm/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.4 2011/04/17 07:46:05 asau Exp $
+$NetBSD: distinfo,v 1.5 2012/06/23 21:30:05 dholland Exp $
SHA1 (vscmV1R2.tar.gz) = 5c9107d825370e2a3b0d02c008faee2ca9f35eba
RMD160 (vscmV1R2.tar.gz) = 3c405b384b4fb55594fd9a84c3aec6f10cda6bae
Size (vscmV1R2.tar.gz) = 229752 bytes
SHA1 (patch-aa) = 3c85e4519b8d17724672b093889016ec6bee5402
-SHA1 (patch-ab) = 8b4d68a93411af6dab109f058c0b189375e0b294
+SHA1 (patch-ab) = e4cd3a11cf083ab08dc7a5e83eb74965f0a1a163
SHA1 (patch-ac) = 73adae14da2fb236fb41277a17e0b936a75b9433
SHA1 (patch-ad) = 80ccfbe99d114cd6695faf09f4d27a22e68a31cb
diff --git a/lang/vscm/patches/patch-ab b/lang/vscm/patches/patch-ab
index d0c4a8977fe..53c5143820d 100644
--- a/lang/vscm/patches/patch-ab
+++ b/lang/vscm/patches/patch-ab
@@ -1,7 +1,11 @@
-$NetBSD: patch-ab,v 1.3 2011/04/17 07:46:05 asau Exp $
+$NetBSD: patch-ab,v 1.4 2012/06/23 21:30:05 dholland Exp $
---- Makefile.orig 1999-02-09 08:24:08.000000000 +0300
-+++ Makefile 2011-03-30 20:15:36.000000000 +0400
+ - Use pkgsrc compiler and CFLAGS
+ - get rid of strerr.c, it is a broken reimplementation of a standard function
+ - generate executable as "vscm" rather than plain "scheme"
+
+--- Makefile.orig 1999-02-09 05:24:08.000000000 +0000
++++ Makefile
@@ -42,8 +42,8 @@
# ``-DNDEBUG'' etc.
@@ -13,7 +17,7 @@ $NetBSD: patch-ab,v 1.3 2011/04/17 07:46:05 asau Exp $
WARNFLAGS = -Wall -Wmissing-prototypes
DEBUGFLAGS = -g
EXTRACFLAGS = -DADJUSTABLE_SFIXNUM_RANGE -DVSCM_POSIX
-@@ -183,7 +183,7 @@
+@@ -183,7 +183,7 @@ DDP = -DDEFAULT_DUMP_PREFIX='"\#!/home/b
.DEFAULT:
@echo I hope, making $< is not necessary...
@@ -22,7 +26,17 @@ $NetBSD: patch-ab,v 1.3 2011/04/17 07:46:05 asau Exp $
LDFLAGS = $(A_OPTFLAGS) $(A_DEBUGFLAGS) $(A_EXTRALDFLAGS)
CLFLAGS = $(CFLAGS) $(A_EXTRALDFLAGS)
LIBS = -lm $(A_EXTRALIBS)
-@@ -351,7 +351,7 @@
+@@ -340,8 +340,7 @@ vbis.sort: vbis.tab
+
+ non-ansi-lib: \
+ non-ansi-lib(fileno.o) \
+- non-ansi-lib(realloc.o) \
+- non-ansi-lib(strerr.o)
++ non-ansi-lib(realloc.o)
+ $(RANLIB) non-ansi-lib
+ @echo non-ansi-lib is now up to date
+
+@@ -351,7 +350,7 @@ non-ansi-lib: \
$(FORCEDELETE) $*.o
scheme: $(OBJECTS) $(TMPLIBS)