summaryrefslogtreecommitdiff
path: root/math/xlispstat/patches
diff options
context:
space:
mode:
authorfrueauf <frueauf@pkgsrc.org>1998-10-03 20:28:08 +0000
committerfrueauf <frueauf@pkgsrc.org>1998-10-03 20:28:08 +0000
commit1f6a58847cd6c0c2d0d335dda3efb20b4248e574 (patch)
tree6ef71cdb4c0444fa034eda876929e16ae823adba /math/xlispstat/patches
parenta2eae18262b8c44cae133dc16c5e3287a197b954 (diff)
downloadpkgsrc-1f6a58847cd6c0c2d0d335dda3efb20b4248e574.tar.gz
Initial addition of xlispstat-3.52.5, a statistics/X11 based lisp interpreter.
Closes pr 6234 by Rene Hexel.
Diffstat (limited to 'math/xlispstat/patches')
-rw-r--r--math/xlispstat/patches/patch-aa13
-rw-r--r--math/xlispstat/patches/patch-ab39
-rw-r--r--math/xlispstat/patches/patch-ac44
-rw-r--r--math/xlispstat/patches/patch-ad19
4 files changed, 115 insertions, 0 deletions
diff --git a/math/xlispstat/patches/patch-aa b/math/xlispstat/patches/patch-aa
new file mode 100644
index 00000000000..37e605da2da
--- /dev/null
+++ b/math/xlispstat/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 1998/10/03 20:28:09 frueauf Exp $
+
+--- Makefile.in.orig Mon Mar 23 13:44:59 1998
++++ Makefile.in Fri Oct 2 18:11:53 1998
+@@ -117,6 +117,8 @@
+ compiler/lift.fsl compiler/gencode.fsl compiler/peephole.fsl \
+ compiler/assemble.fsl compiler/cmpfront.fsl
+
++all: xlispstat
++
+ xlispstat: setup.shell xlisp.wks
+ ./setup.shell xlispstat ${XLSLIB}
+ chmod a+x xlispstat
diff --git a/math/xlispstat/patches/patch-ab b/math/xlispstat/patches/patch-ab
new file mode 100644
index 00000000000..1a04e1eb3be
--- /dev/null
+++ b/math/xlispstat/patches/patch-ab
@@ -0,0 +1,39 @@
+$NetBSD: patch-ab,v 1.1.1.1 1998/10/03 20:28:09 frueauf Exp $
+
+--- xllist.c.orig Tue Nov 25 13:07:14 1997
++++ xllist.c Fri Oct 2 18:19:47 1998
+@@ -991,7 +991,7 @@
+ }
+
+ /* xsort - built-in function 'sort' */
+-LOCAL LVAL mergesort P3C(LVAL, list, LVAL, sortfcn, LVAL, sortkey)
++LOCAL LVAL xlmergesort P3C(LVAL, list, LVAL, sortfcn, LVAL, sortkey)
+ {
+ /* Strategy: divide into two parts, (recurse) to sort each, then
+ merge them together */
+@@ -1018,8 +1018,8 @@
+ rplacd(temp, NIL); /* split left and right parts */
+ }
+
+- left = mergesort(left, sortfcn, sortkey);
+- right = mergesort(right, sortfcn, sortkey);
++ left = xlmergesort(left, sortfcn, sortkey);
++ right = xlmergesort(right, sortfcn, sortkey);
+
+ {
+ LVAL result, resultt = NULL, leftarg, rightarg;
+@@ -1094,12 +1094,12 @@
+ {
+ LVAL etype = gettvecetype(list);
+ list = coerce_to_list(list);
+- list = mergesort(list, sortfcn, sortkey);
++ list = xlmergesort(list, sortfcn, sortkey);
+ list = coerce_to_tvec(list, etype);
+ break;
+ }
+ case CONS:
+- list = mergesort(list, sortfcn, sortkey);
++ list = xlmergesort(list, sortfcn, sortkey);
+ break;
+ default: xlbadtype(list);
+ }
diff --git a/math/xlispstat/patches/patch-ac b/math/xlispstat/patches/patch-ac
new file mode 100644
index 00000000000..5e4b84bbabe
--- /dev/null
+++ b/math/xlispstat/patches/patch-ac
@@ -0,0 +1,44 @@
+$NetBSD: patch-ac,v 1.1.1.1 1998/10/03 20:28:09 frueauf Exp $
+
+--- Makefile.in.orig Sat Oct 3 16:06:56 1998
++++ Makefile.in Sat Oct 3 16:48:58 1998
+@@ -34,7 +34,8 @@
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+
+-XLSLIB=${prefix}/lib/xlispstat
++XLSLIB=${prefix}/share/xlispstat
++LIBEXEC=${prefix}/libexec/xlispstat
+ BINDIR=${exec_prefix}/bin
+
+ GRAPHSYS = @GRAPHSYS@
+@@ -120,7 +121,7 @@
+ all: xlispstat
+
+ xlispstat: setup.shell xlisp.wks
+- ./setup.shell xlispstat ${XLSLIB}
++ ./setup.shell xlispstat ${XLSLIB} ${LIBEXEC}
+ chmod a+x xlispstat
+
+ xlisp.wks: xlisp ${CMPFSLFILES} ${FSLFILES} ${AUTOFSLFILES}
+@@ -144,10 +145,10 @@
+
+ installexecs: xlispstat xlisp installdirs
+ -cp xlispstat ${BINDIR}/xlispstat
+- -cp xlisp ${XLSLIB}
++ -cp xlisp ${LIBEXEC}
+
+ installlsp: xlisp.wks xlisp.hlp ${AUTOFSLFILES} ${CMPFSLFILES} installdirs
+- -cp xlisp.wks ${XLSLIB}
++ -cp xlisp.wks ${LIBEXEC}
+ -cp xlisp.hlp ${XLSLIB}
+ -cp Autoload/_autoidx.lsp Autoload/*.fsl ${XLSLIB}/Autoload
+ -cp Data/*.lsp ${XLSLIB}/Data
+@@ -157,6 +158,7 @@
+ installdirs:
+ -mkdir -p ${BINDIR}
+ -mkdir -p ${XLSLIB}
++ -mkdir -p ${LIBEXEC}
+ -mkdir ${XLSLIB}/Data
+ -mkdir ${XLSLIB}/Examples
+ -mkdir ${XLSLIB}/Autoload
diff --git a/math/xlispstat/patches/patch-ad b/math/xlispstat/patches/patch-ad
new file mode 100644
index 00000000000..49446497dd7
--- /dev/null
+++ b/math/xlispstat/patches/patch-ad
@@ -0,0 +1,19 @@
+$NetBSD: patch-ad,v 1.1.1.1 1998/10/03 20:28:09 frueauf Exp $
+
+--- setup.shell.orig Wed Sep 7 16:34:36 1994
++++ setup.shell Sat Oct 3 16:50:37 1998
+@@ -2,11 +2,12 @@
+ cat > $1 <<+++
+ #!/bin/sh
+ XLISPLIB=$2 export XLISPLIB
++LIBEXEC=$3 export LIBEXEC
+ if test -f xlisp.wks; then WKS="xlisp.wks";
+-else WKS="\${XLISPLIB}/xlisp.wks";
++else WKS="\${LIBEXEC}/xlisp.wks";
+ fi
+ if test -f xlisp; then XLISP=xlisp;
+-else XLISP="\${XLISPLIB}/xlisp"
++else XLISP="\${LIBEXEC}/xlisp"
+ fi
+ exec \${XLISP} -w\${WKS} \$*
+ +++