summaryrefslogtreecommitdiff
path: root/lang/lush/patches
diff options
context:
space:
mode:
authorwiz <wiz>2006-08-23 22:01:00 +0000
committerwiz <wiz>2006-08-23 22:01:00 +0000
commit29ad05e8028e6ca382a9f6379e168be5685e5911 (patch)
treeb15de2972a0b2e3c3b6265a392338995d46bc31b /lang/lush/patches
parentc060c7724d536469f94325dc873d898940b0e38a (diff)
downloadpkgsrc-29ad05e8028e6ca382a9f6379e168be5685e5911.tar.gz
Initial import of lush-1.1 from pkgsrc-wip, packaged by Gilles Dauphin:
Lush is an object-oriented Lisp interpreter/compiler with features designed to please people who want to prototype large numerical applications. Lush includes an extensive library of vector/matrix/tensor manipulation, numerous numerical libraries (including GSL, LAPACK, and BLAS), a set of graphic functions, a simple GUI toolkit, and interfaces to various graphic and multimedia libraries such as OpenGL, SDL, Video4Linux, and ALSA (video/audio grabbing), and others. Lush is an ideal frontend script language for programming projects written in C or other languages. Lush also has libraries for Machine Learning, Neural Nets and statistical estimation (which are the main interests of the authors).
Diffstat (limited to 'lang/lush/patches')
-rw-r--r--lang/lush/patches/patch-aa26
-rw-r--r--lang/lush/patches/patch-ab24
2 files changed, 50 insertions, 0 deletions
diff --git a/lang/lush/patches/patch-aa b/lang/lush/patches/patch-aa
new file mode 100644
index 00000000000..dc82576a579
--- /dev/null
+++ b/lang/lush/patches/patch-aa
@@ -0,0 +1,26 @@
+$NetBSD: patch-aa,v 1.1.1.1 2006/08/23 22:01:00 wiz Exp $
+
+--- src/date.c.orig 2003-07-11 13:03:45.000000000 +0000
++++ src/date.c
+@@ -63,7 +63,7 @@ struct date {
+ */
+
+
+-static char *ansidatenames[] = {
++char *ansidatenames[] = {
+ "year",
+ "month",
+ "day",
+@@ -311,10 +311,11 @@ date_name(at *p)
+ return string_buffer;
+ }
+
++static at *make_date(struct date *d);
++
+ static void
+ date_serialize(at **pp, int code)
+ {
+- static at *make_date(struct date *d);
+ void *p;
+
+ if (code == SRZ_READ)
diff --git a/lang/lush/patches/patch-ab b/lang/lush/patches/patch-ab
new file mode 100644
index 00000000000..278e7b9b25e
--- /dev/null
+++ b/lang/lush/patches/patch-ab
@@ -0,0 +1,24 @@
+$NetBSD: patch-ab,v 1.1.1.1 2006/08/23 22:01:00 wiz Exp $
+
+--- src/index.c.orig 2004-04-15 23:45:34.000000000 +0000
++++ src/index.c
+@@ -142,6 +142,9 @@ index_name(at *p)
+ }
+
+
++static at *index_set(struct index*,at**,at*,int);
++static at *index_ref(struct index*,at**);
++
+ static at *
+ index_listeval(at *p, at *q)
+ {
+@@ -150,9 +153,6 @@ index_listeval(at *p, at *q)
+ register at *qsav;
+ at *myp[MAXDIMS];
+
+- static at *index_set(struct index*,at**,at*,int);
+- static at *index_ref(struct index*,at**);
+-
+ ind = p->Object;
+
+ if (ind->flags & IDF_UNSIZED)