Here's a small update to scheme48.
I'm not sure what changed, but this one actually builds and works with clang.
1.9 does segfault once built:
./build/build-usual-image . \
"`(cd . && pwd)`/scheme" "`pwd`/c" 'scheme48.image' './scheme48vm' \
'./build/initial.image-64'
Segmentation fault (core dumped)
okay ?
Index: Makefile
===================================================================
RCS file: /cvs/ports/lang/scheme48/Makefile,v
retrieving revision 1.13
diff -u -p -r1.13 Makefile
--- Makefile 4 Apr 2016 16:09:09 -0000 1.13
+++ Makefile 27 May 2017 20:49:31 -0000
@@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.13 2016/04/04 16:09:09 naddy Exp $
COMMENT= Scheme Underground's implementation of R5RS
+# '
-V= 1.9
+V= 1.9.2
DISTNAME= scheme48-$V
-REVISION= 2
CATEGORIES= lang
HOMEPAGE= http://www.s48.org/
Index: distinfo
===================================================================
RCS file: /cvs/ports/lang/scheme48/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo 6 Feb 2013 20:37:34 -0000 1.4
+++ distinfo 27 May 2017 20:49:31 -0000
@@ -1,2 +1,2 @@
-SHA256 (scheme48-1.9.tgz) = 3LqR0VC3SQ5hcO9PvUWgZboNjW4iiUY3naDR18ungmc=
-SIZE (scheme48-1.9.tgz) = 3945425
+SHA256 (scheme48-1.9.2.tgz) = nEkhqQ6V2u4GfNLpzA/+CeEY9NoBwMAZjld8T0d1nfQ=
+SIZE (scheme48-1.9.2.tgz) = 3951356
Index: patches/patch-Makefile_in
===================================================================
RCS file: /cvs/ports/lang/scheme48/patches/patch-Makefile_in,v
retrieving revision 1.4
diff -u -p -r1.4 patch-Makefile_in
--- patches/patch-Makefile_in 8 Feb 2013 14:39:50 -0000 1.4
+++ patches/patch-Makefile_in 27 May 2017 20:49:31 -0000
@@ -2,9 +2,10 @@ $OpenBSD: patch-Makefile_in,v 1.4 2013/0
Fix fake-stage.
---- Makefile.in.orig Thu Dec 27 11:46:24 2012
-+++ Makefile.in Thu Feb 7 20:52:25 2013
-@@ -71,8 +71,8 @@ VERSION = 1.`cat $(srcdir)/build/minor-version-number`
+Index: Makefile.in
+--- Makefile.in.orig
++++ Makefile.in
+@@ -72,8 +72,8 @@ VERSION = 1.`cat $(srcdir)/build/minor-version-number`
RUNNABLE = scheme48
CONFIG_SCRIPT = scheme48-config
MANPAGE = $(RUNNABLE).$(manext)
@@ -15,7 +16,7 @@ Fix fake-stage.
distdir = /tmp
-@@ -469,7 +469,7 @@ doc/html/manual.html: doc/manual.pdf
+@@ -470,7 +470,7 @@ doc/html/manual.html: doc/manual.pdf
doc: doc/manual.pdf doc/manual.ps doc/html/manual.html
@@ -24,12 +25,13 @@ Fix fake-stage.
install-no-doc: enough dirs
# install the VM
-@@ -532,8 +532,6 @@ install-no-doc: enough dirs
+@@ -532,9 +532,6 @@ install-no-doc: enough dirs
+ chmod +x $$config_script
# install the external modules
$(INSTALL_PROGRAM) $(EXTERNALS) $(DESTDIR)$(LIB)/
- # install the documentation
+-# install the documentation
- $(srcdir)/mkinstalldirs $(DESTDIR)$(docdir)
-- $(INSTALL_DATA) $(srcdir)/COPYING $(docdir)
+- $(INSTALL_DATA) $(srcdir)/COPYING $(DESTDIR)$(docdir)
install-doc: dirs doc
$(srcdir)/mkinstalldirs $(DESTDIR)$(docdir)