summaryrefslogtreecommitdiff
path: root/lang/stalin/patches
diff options
context:
space:
mode:
authorjtb <jtb>2000-12-10 11:07:31 +0000
committerjtb <jtb>2000-12-10 11:07:31 +0000
commit0551833cc506d7d7a26ed336f62e567c6f315936 (patch)
tree168663949fa3a43c174746e26abff19cd5ed5bef /lang/stalin/patches
parent9c66038b3eb39d74d29db963f0d4b1d2b5d84909 (diff)
downloadpkgsrc-0551833cc506d7d7a26ed336f62e567c6f315936.tar.gz
Initial import of new "stalin" package:
Aggressively optimizing Scheme compiler
Diffstat (limited to 'lang/stalin/patches')
-rw-r--r--lang/stalin/patches/patch-aa35
-rw-r--r--lang/stalin/patches/patch-ab13
-rw-r--r--lang/stalin/patches/patch-ac21
-rw-r--r--lang/stalin/patches/patch-ad21
-rw-r--r--lang/stalin/patches/patch-ae8
-rw-r--r--lang/stalin/patches/patch-af41
-rw-r--r--lang/stalin/patches/patch-ag12
-rw-r--r--lang/stalin/patches/patch-ah12
-rw-r--r--lang/stalin/patches/patch-ai10
-rw-r--r--lang/stalin/patches/patch-aj15
-rw-r--r--lang/stalin/patches/patch-ak12
-rw-r--r--lang/stalin/patches/patch-al14
12 files changed, 214 insertions, 0 deletions
diff --git a/lang/stalin/patches/patch-aa b/lang/stalin/patches/patch-aa
new file mode 100644
index 00000000000..1ca2a627306
--- /dev/null
+++ b/lang/stalin/patches/patch-aa
@@ -0,0 +1,35 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/12/10 11:07:34 jtb Exp $
+
+--- /dev/null Sun Dec 10 10:00:27 2000
++++ Makefile
+@@ -0,0 +1,30 @@
++CFLAGS = -O2 -fomit-frame-pointer -freg-struct-return
++INCLUDES= -I${GC_PREFIX}/include -I${X11BASE}/include -I${MESA_PREFIX}/include
++LDFLAGS = -L${GC_PREFIX}/lib -L${X11BASE}/lib -L${MESA_PREFIX}/lib
++LIBS = -lgc -lm
++
++all-32: stalin-32 libstalin.a
++
++all-alpha: stalin-alpha libstalin.a
++
++OPTIONS = -I ./include -On -du -dI -t -c -db \
++ -clone-size-limit 0 -split-even-if-no-widening \
++ -do-not-align-strings \
++ -treat-all-symbols-as-external \
++ -do-not-index-constant-structure-types-by-expression \
++ -do-not-index-allocated-structure-types-by-expression
++
++stalin-32: stalin-32.o
++ $(CC) -O -o stalin $@.o $(LDFLAGS) $(LIBS)
++
++stalin-alpha: stalin-alpha.o
++ $(CC) -O -o stalin $@.o $(LDFLAGS) $(LIBS)
++
++LIBOBJS = xlib-c.o gl-c.o
++
++libstalin.a: include/xlib-c.o include/gl-c.o
++ $(AR) cru $@ $(LIBOBJS)
++ $(RANLIB) $@
++
++.c.o:
++ $(CC) $(CFLAGS) $(INCLUDES) -c $<
diff --git a/lang/stalin/patches/patch-ab b/lang/stalin/patches/patch-ab
new file mode 100644
index 00000000000..ce558f4e873
--- /dev/null
+++ b/lang/stalin/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/12/10 11:07:34 jtb Exp $
+
+--- stalin.sc.orig Sat Nov 18 18:48:05 2000
++++ stalin.sc
+@@ -25538,7 +25538,7 @@
+ (set! *program* "stalin")
+ (initialize-stalin!)
+ (set! *include-path*
+- (append '(".") include-path '("/usr/local/stalin/include")))
++ (append '(".") include-path '("%%PREFIX%%/lib/stalin")))
+ (set! *bounds-checks?* (not disable-bounds-checks?))
+ (set! *memory-checks?* (not disable-memory-checks?))
+ (set! *overflow-checks?* (not disable-overflow-checks?))
diff --git a/lang/stalin/patches/patch-ac b/lang/stalin/patches/patch-ac
new file mode 100644
index 00000000000..9ea80e51235
--- /dev/null
+++ b/lang/stalin/patches/patch-ac
@@ -0,0 +1,21 @@
+$NetBSD: patch-ac,v 1.1.1.1 2000/12/10 11:07:34 jtb Exp $
+
+--- stalin-32.c.orig Sat May 15 22:34:50 1999
++++ stalin-32.c
+@@ -1,7 +1,6 @@
+ #include <stddef.h>
+ #include <assert.h>
+ #include <time.h>
+-#include <alloca.h>
+ #include <gc.h>
+ #include <string.h>
+ #include <math.h>
+@@ -371942,7 +371941,7 @@
+ t80266.s0.value.string_type = ".";
+ t80266.s1.tag = NULL_TYPE;
+ t80267.s0.tag = STRING_TYPE;
+- t80267.s0.value.string_type = "/usr/local/stalin/include";
++ t80267.s0.value.string_type = "%%PREFIX%%/lib/stalin";
+ t80267.s1.tag = NULL_TYPE;
+ t80305.s0.tag = EXTERNAL_SYMBOL_TYPE;
+ t80305.s0.value.external_symbol_type = q82;
diff --git a/lang/stalin/patches/patch-ad b/lang/stalin/patches/patch-ad
new file mode 100644
index 00000000000..461d8315014
--- /dev/null
+++ b/lang/stalin/patches/patch-ad
@@ -0,0 +1,21 @@
+$NetBSD: patch-ad,v 1.1.1.1 2000/12/10 11:07:34 jtb Exp $
+
+--- stalin-alpha.c.orig Sat Nov 18 18:47:17 2000
++++ stalin-alpha.c
+@@ -1,7 +1,6 @@
+ #include <stddef.h>
+ #include <assert.h>
+ #include <time.h>
+-#include <alloca.h>
+ #include <gc.h>
+ #include <string.h>
+ #include <math.h>
+@@ -371552,7 +371551,7 @@
+ t80266.s0.value.string_type = ".";
+ t80266.s1.tag = NULL_TYPE;
+ t80267.s0.tag = STRING_TYPE;
+- t80267.s0.value.string_type = "/usr/local/stalin/include";
++ t80267.s0.value.string_type = "%%PREFIX%%/lib/stalin";
+ t80267.s1.tag = NULL_TYPE;
+ t80305.s0.tag = EXTERNAL_SYMBOL_TYPE;
+ t80305.s0.value.external_symbol_type = q82;
diff --git a/lang/stalin/patches/patch-ae b/lang/stalin/patches/patch-ae
new file mode 100644
index 00000000000..8e9a2897f03
--- /dev/null
+++ b/lang/stalin/patches/patch-ae
@@ -0,0 +1,8 @@
+$NetBSD: patch-ae,v 1.1.1.1 2000/12/10 11:07:35 jtb Exp $
+
+--- /dev/null Sun Dec 10 09:45:42 2000
++++ stalinc
+@@ -0,0 +1,3 @@
++#!/bin/sh
++
++exec %%PREFIX%%/bin/stalin -I %%PREFIX%%/lib/stalin -I %%PREFIX%%/include -I %%PREFIX%%/lib -I %%GC_PREFIX%%/include -I %%GC_PREFIX%%/lib -I %%X11BASE%%/lib -I %%X11BASE%%/include -I %%MESA_PREFIX%%/lib -I %%MESA_PREFIX%%/include -Ob -Om -On -Or -Ot -d -d1 -du -dI -k -copt -O2 -copt -fomit-frame-pointer -copt -freg-struct-return $@
diff --git a/lang/stalin/patches/patch-af b/lang/stalin/patches/patch-af
new file mode 100644
index 00000000000..99b9df4eddb
--- /dev/null
+++ b/lang/stalin/patches/patch-af
@@ -0,0 +1,41 @@
+$NetBSD: patch-af,v 1.1.1.1 2000/12/10 11:07:35 jtb Exp $
+
+--- stalin.1.orig Sun Dec 10 08:53:20 2000
++++ stalin.1
+@@ -607,28 +607,28 @@
+ This option can be repeated to allow passing multiple options to the C
+ compiler.
+ .SH FILES
+-.I /usr/local/stalin/include/
++.I %%PREFIX%%/lib/stalin/
+ default directory for Scheme include files and library archive files
+ .br
+-.I /usr/local/stalin/include/Scheme-to-C-compatibility.sc
++.I %%PREFIX%%/lib/stalin/Scheme-to-C-compatibility.sc
+ include file for Scheme->C compatibility
+ .br
+-.I /usr/local/stalin/include/QobiScheme.sc
++.I %%PREFIX%%/lib/stalin/QobiScheme.sc
+ include file for QobiScheme
+ .br
+-.I /usr/local/stalin/include/xlib.sc
++.I %%PREFIX%%/lib/stalin/xlib.sc
+ include file for Xlib FPI
+ .br
+-.I /usr/local/stalin/include/xlib-original.sc
++.I %%PREFIX%%/lib/stalin/xlib-original.sc
+ include file for Xlib FPI
+ .br
+-.I /usr/local/stalin/include/libstalin.a
++.I %%PREFIX%%/lib/libstalin.a
+ library archive for Xlib FPI
+ .br
+-.I /usr/local/stalin/include/gc.h
++.I %%GC_PREFIX%%/include/gc.h
+ include file for the Boehm conservative garbage collector
+ .br
+-.I /usr/local/stalin/include/libgc.a
++.I %%GC_PREFIX%%/lib/libgc.a
+ library archive for the Boehm conservative garbage collector
+ .SH SEE\ ALSO
+ .BR sci "(2), " scc "(2), " gcc "(1), " ld "(1), " alloca "(3), " gc (8)
diff --git a/lang/stalin/patches/patch-ag b/lang/stalin/patches/patch-ag
new file mode 100644
index 00000000000..cd9cb4efec7
--- /dev/null
+++ b/lang/stalin/patches/patch-ag
@@ -0,0 +1,12 @@
+$NetBSD: patch-ag,v 1.1.1.1 2000/12/10 11:07:35 jtb Exp $
+
+--- benchmarks/benchmark.orig Wed May 19 15:50:11 1999
++++ benchmarks/benchmark
+@@ -1,6 +1,6 @@
+ #!/bin/sh
+ gcc -o unbuff unbuff.c
+-../stalin -q -On -db benchmarks-to-latex
++%%PREFIX%%/bin/stalin -q -On -db benchmarks-to-latex
+ ./compile-benchmarks
+ ./run-benchmarks
+ ./benchmarks-to-latex
diff --git a/lang/stalin/patches/patch-ah b/lang/stalin/patches/patch-ah
new file mode 100644
index 00000000000..3f4ed5684b5
--- /dev/null
+++ b/lang/stalin/patches/patch-ah
@@ -0,0 +1,12 @@
+$NetBSD: patch-ah,v 1.1.1.1 2000/12/10 11:07:35 jtb Exp $
+
+--- benchmarks/compile-and-run-stalin-benchmark.orig Mon Apr 26 20:40:00 1999
++++ benchmarks/compile-and-run-stalin-benchmark
+@@ -12,6 +12,6 @@
+ o="$s $c"
+ echo compile $1
+ sed -f stalin.sed $1.sc >$1-stalin.sc
+-time ../stalin $o $2 $1-stalin
++time %%PREFIX%%/bin/stalin $o $2 $1-stalin
+ echo run $1
+ time ./$1-stalin >/dev/null
diff --git a/lang/stalin/patches/patch-ai b/lang/stalin/patches/patch-ai
new file mode 100644
index 00000000000..8f6813a2a1d
--- /dev/null
+++ b/lang/stalin/patches/patch-ai
@@ -0,0 +1,10 @@
+$NetBSD: patch-ai,v 1.1.1.1 2000/12/10 11:07:35 jtb Exp $
+
+--- benchmarks/compile-stalin-benchmark.orig Mon Apr 26 20:40:11 1999
++++ benchmarks/compile-stalin-benchmark
+@@ -12,4 +12,4 @@
+ o="$s $c"
+ echo compile $1
+ sed -f stalin.sed $1.sc >$1-stalin.sc
+-time ../stalin $o $2 $1-stalin
++time %%PREFIX%%/bin/stalin $o $2 $1-stalin
diff --git a/lang/stalin/patches/patch-aj b/lang/stalin/patches/patch-aj
new file mode 100644
index 00000000000..cfc8ab596f2
--- /dev/null
+++ b/lang/stalin/patches/patch-aj
@@ -0,0 +1,15 @@
+$NetBSD: patch-aj,v 1.1.1.1 2000/12/10 11:07:35 jtb Exp $
+
+--- benchmarks/make-define-application-example.orig Mon Apr 26 20:40:26 1999
++++ benchmarks/make-define-application-example
+@@ -1,7 +1,8 @@
+ #!/bin/sh
+ ulimit -s unlimited
+ ulimit -c 0
+-../stalin -d0 -d1 -d5 -d6 -On -du -dI -q -no-escaping-continuations\
++%%PREFIX%%/bin/stalin -d0 -d1 -d5 -d6 -On -du -dI -q \
++ -no-escaping-continuations \
+ -copt -O2 -copt -fomit-frame-pointer -copt -Wall -copt -freg-struct-return\
+- -copt -L/usr/X11/lib -copt -lX11\
++ -copt -L%%X11BASE%%/lib -copt -lX11\
+ define-application-example
diff --git a/lang/stalin/patches/patch-ak b/lang/stalin/patches/patch-ak
new file mode 100644
index 00000000000..1a9ed3078d1
--- /dev/null
+++ b/lang/stalin/patches/patch-ak
@@ -0,0 +1,12 @@
+$NetBSD: patch-ak,v 1.1.1.1 2000/12/10 11:07:35 jtb Exp $
+
+--- benchmarks/make-hello.orig Sun Dec 10 10:21:03 2000
++++ benchmarks/make-hello
+@@ -1,6 +1,6 @@
+ #!/bin/sh
+ ulimit -s unlimited
+ ulimit -c 0
+-../stalin -d0 -d1 -d5 -d6 -On -du -dI\
++%%PREFIX%%/bin/stalin -d0 -d1 -d5 -d6 -On -du -dI\
+ -copt -O2 -copt -fomit-frame-pointer -copt -Wall -copt -freg-struct-return\
+ hello
diff --git a/lang/stalin/patches/patch-al b/lang/stalin/patches/patch-al
new file mode 100644
index 00000000000..990fd1d14c9
--- /dev/null
+++ b/lang/stalin/patches/patch-al
@@ -0,0 +1,14 @@
+$NetBSD: patch-al,v 1.1.1.1 2000/12/10 11:07:35 jtb Exp $
+
+--- benchmarks/make-xhello.orig Sun Dec 10 10:21:10 2000
++++ benchmarks/make-xhello
+@@ -1,7 +1,7 @@
+ #!/bin/sh
+ ulimit -s unlimited
+ ulimit -c 0
+-../stalin -d0 -d1 -d5 -d6 -On -du -dI\
++%%PREFIX%%/bin/stalin -d0 -d1 -d5 -d6 -On -du -dI\
+ -copt -O2 -copt -fomit-frame-pointer -copt -Wall -copt -freg-struct-return\
+- -copt -L/usr/X11/lib -copt -lX11\
++ -copt -L%%X11BASE%%/lib -copt -lX11\
+ xhello