aboutsummaryrefslogtreecommitdiff
path: root/lang/qscheme/files
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2004-11-01 21:59:34 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2004-11-01 21:59:34 +0000
commit8e768c8949edc5e53a3d305a3d7442bd8517fef3 (patch)
treef86862102612f0ceb1640e6fbc0ac348d0c7993f /lang/qscheme/files
parenteda87cdd9958c2f97a7864654db6983097ddcd70 (diff)
downloadports-8e768c8949edc5e53a3d305a3d7442bd8517fef3.tar.gz
ports-8e768c8949edc5e53a3d305a3d7442bd8517fef3.zip
Notes
Diffstat (limited to 'lang/qscheme/files')
-rw-r--r--lang/qscheme/files/patch-Makefile.in20
-rw-r--r--lang/qscheme/files/patch-configure4
-rw-r--r--lang/qscheme/files/patch-vm2.c13
3 files changed, 33 insertions, 4 deletions
diff --git a/lang/qscheme/files/patch-Makefile.in b/lang/qscheme/files/patch-Makefile.in
index 02f354a37d63..045f49c73e79 100644
--- a/lang/qscheme/files/patch-Makefile.in
+++ b/lang/qscheme/files/patch-Makefile.in
@@ -1,5 +1,5 @@
---- Makefile.in.orig Sun Feb 10 12:52:32 2002
-+++ Makefile.in Sun Feb 10 12:52:37 2002
+--- Makefile.in.orig Thu Jun 22 19:10:21 2000
++++ Makefile.in Fri Oct 29 10:07:48 2004
@@ -111,7 +111,7 @@
EXTRA_DIST = mkoptable mkwhatis $(modsrc) $(scmsrc) CHANGES LICENCE_EXCEPTION
@@ -8,3 +8,19 @@
+SUBDIRS = . doc
noinst_LIBRARIES = libqs.a
+
+@@ -580,10 +580,10 @@
+ %.x:%.i
+ mkoptable $< > $@
+
+-sproto.h: $(libqs_src)
+- @cfunctions $(libqs_src) \
+- | sed 's/^#include "c-extensions.h".*$$/#define PROTO(x) x/' > $@.new
+- @if diff $@ $@.new >/dev/null ; then rm $@.new; else mv $@.new $@ ; fi
++#sproto.h: $(libqs_src)
++# @cfunctions $(libqs_src) \
++# | sed 's/^#include "c-extensions.h".*$$/#define PROTO(x) x/' > $@.new
++# @if diff $@ $@.new >/dev/null ; then rm $@.new; else mv $@.new $@ ; fi
+
+ # force sproto.h to be up to date. Otherwise compilation of
+ # distribution may fail, because sproto.h can trigger the cfunction
diff --git a/lang/qscheme/files/patch-configure b/lang/qscheme/files/patch-configure
index 5209603fddc8..496031dff2bc 100644
--- a/lang/qscheme/files/patch-configure
+++ b/lang/qscheme/files/patch-configure
@@ -108,7 +108,7 @@
ac_given_INSTALL="$INSTALL"
-trap 'rm -fr `echo "Makefile tst/Makefile doc/Makefile sgtk/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
-+trap 'rm -fr `echo "Makefile tst/Makefile doc/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
++trap 'rm -fr `echo "Makefile doc/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
EOF
cat >> $CONFIG_STATUS <<EOF
@@ -117,7 +117,7 @@
cat >> $CONFIG_STATUS <<EOF
-CONFIG_FILES=\${CONFIG_FILES-"Makefile tst/Makefile doc/Makefile sgtk/Makefile"}
-+CONFIG_FILES=\${CONFIG_FILES-"Makefile tst/Makefile doc/Makefile"}
++CONFIG_FILES=\${CONFIG_FILES-"Makefile doc/Makefile"}
EOF
cat >> $CONFIG_STATUS <<\EOF
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
diff --git a/lang/qscheme/files/patch-vm2.c b/lang/qscheme/files/patch-vm2.c
new file mode 100644
index 000000000000..d4340b993641
--- /dev/null
+++ b/lang/qscheme/files/patch-vm2.c
@@ -0,0 +1,13 @@
+--- vm2.c.orig Wed Oct 27 19:33:03 2004
++++ vm2.c Wed Oct 27 19:33:16 2004
+@@ -185,8 +185,8 @@
+
+ #define RETURN(value) { TOS=(value); NEXT; }
+
+-#define Prim(name,str,nargs) l_##name##: /* str */
+-#define PrimVarargs(name,str) l_##name##: /* str */
++#define Prim(name,str,nargs) l_##name: /* str */
++#define PrimVarargs(name,str) l_##name: /* str */
+
+
+ /****************************************************************