summaryrefslogtreecommitdiff
path: root/math/rascal/files
diff options
context:
space:
mode:
Diffstat (limited to 'math/rascal/files')
-rw-r--r--math/rascal/files/patch-grascal.cpp29
-rw-r--r--math/rascal/files/patch-hoc.y32
-rw-r--r--math/rascal/files/patch-mmatrix.hpp45
-rw-r--r--math/rascal/files/patch-rascal.170
4 files changed, 0 insertions, 176 deletions
diff --git a/math/rascal/files/patch-grascal.cpp b/math/rascal/files/patch-grascal.cpp
deleted file mode 100644
index 6698fa3c7759..000000000000
--- a/math/rascal/files/patch-grascal.cpp
+++ /dev/null
@@ -1,29 +0,0 @@
---- grascal.cpp.orig Tue May 14 07:09:26 2002
-+++ grascal.cpp Sat Oct 18 14:51:09 2003
-@@ -76,7 +76,7 @@
-
- int main(int argc,char **argv)
- {
-- Calterm a(string("grascal ")+string(VERSION),"/usr/local/bin/rascal","--shellcolour 4 --outputcolour 0");
-+ Calterm a(string("grascal ")+string(VERSION),"%%PREFIX%%/bin/rascal","--shellcolour 4 --outputcolour 0");
-
- if(exist("./rascal"))
- a.setClientPath("./rascal");
-@@ -91,7 +91,7 @@
- a.addMenu(new MenuFileSelect("/File/_Load","<control>L","Load Rascal File",rascal_load));
- a.addMenu(new MenuFileSelect("/File/_Save","<control>S","Save Rascal File",rascal_save));
- a.addMenu(new MenuSeparator("/File/sep1"));
-- a.addMenu(new MenuGtkFunction("/File/_Quit","<control>Q",gtk_main_quit));
-+ a.addMenu(new MenuGtkFunction("/File/_Quit","<control>Q",(GtkItemFactoryCallback)gtk_main_quit));
-
- a.addMenu(new MenuTop("/_Show"));
- a.addMenu(new MenuSimpleSend("/Show/_Variables","","variables;\n"));
-@@ -113,7 +113,7 @@
- a.addMenu(new MenuSimpleSend("/Help/Licence","","licence;\n"));
- a.addMenu(new MenuSimpleSend("/Help/Changelog","","help changes;\n"));
- a.addMenu(new MenuSeparator("/Help/sep2"));
-- a.addMenu(new MenuShowUrl("/Help/Manual","","file:/usr/local/doc/rascal/html/index.html"));
-+ a.addMenu(new MenuShowUrl("/Help/Manual","","file:%%PREFIX%%/share/doc/rascal/html/index.html"));
- a.addMenu(new MenuSeparator("/Help/sep1"));
- a.addMenu(new MenuShowUrl("/Help/Rascal Homepage","","http://rascal.sourceforge.net/"));
-
diff --git a/math/rascal/files/patch-hoc.y b/math/rascal/files/patch-hoc.y
deleted file mode 100644
index 8cd3f2472df4..000000000000
--- a/math/rascal/files/patch-hoc.y
+++ /dev/null
@@ -1,32 +0,0 @@
---- hoc.y.orig Tue May 14 06:09:26 2002
-+++ hoc.y Tue Dec 3 14:45:21 2002
-@@ -38,6 +38,11 @@
- #include <math.h>
- #include <stdlib.h>
- #include <string.h>
-+#include <stdio.h>
-+extern "C" {
-+#include <getopt.h>
-+}
-+
- int precis=8;
-
- void * set_string_input(char *);
-@@ -517,7 +522,7 @@
- cout << " The content of given files and expressions will be treated as user input" << endl;
- cout << " in the order rc-file, given files, expressions." << endl;
- cout << endl;
-- cout << " The rc-file is searched in /etc/rascal.rc, /usr/local/bin/rascal.rc, rascal.rc" << endl;
-+ cout << " The rc-file is searched in %%PREFIX%%/etc/rascal.rc, rascal.rc" << endl;
- return 0;
- case 'n':
- norc=1;
-@@ -556,7 +561,7 @@
- }
-
- if(norc==0)
-- if(load("/etc/rascal.rc") && load("/usr/local/bin/rascal.rc") && load("rascal.rc"))
-+ if(load("%%PREFIX%%/etc/rascal.rc") && load("rascal.rc"))
- ; // no rcfile found
-
- if(doeval!="")
diff --git a/math/rascal/files/patch-mmatrix.hpp b/math/rascal/files/patch-mmatrix.hpp
deleted file mode 100644
index 29fa7f77fcbb..000000000000
--- a/math/rascal/files/patch-mmatrix.hpp
+++ /dev/null
@@ -1,45 +0,0 @@
---- modules/mmatrix.hpp.orig Mon Aug 16 19:17:01 2004
-+++ modules/mmatrix.hpp Mon Aug 16 19:27:48 2004
-@@ -33,14 +33,14 @@
- public:
- mmatrix(int aN,int aM) : N(aN),M(aM)
- {
-- a=new (T *)[N];
-+ a=new T *[N];
- int i;
- for(i=0;i<N;i++)
- a[i]=new T[M];
- }
- mmatrix(int aN,int aM,const T & x,const T & y) : N(aN),M(aM)
- {
-- a=new (T *)[N];
-+ a=new T *[N];
- int i;
- for(i=0;i<N;i++)
- a[i]=new T[M];
-@@ -51,14 +51,14 @@
- }
- mmatrix(const T & b) : N(1),M(1)
- {
-- a=new (T *)[1];
-+ a=new T *[1];
- a[0]=new T[1];
- a[0][0]=b;
- }
- mmatrix(const mmatrix<T> &b) : N(b.N),M(b.M)
- {
- int i,j;
-- a=new (T *)[N];
-+ a=new T *[N];
- for(i=0;i<N;i++)
- {
- a[i]=new T[M];
-@@ -77,7 +77,7 @@
- {
- for(i=0;i<N;i++) delete [] a[i]; delete [] a; // what if self-assigment ?!??
- N=b.N;M=b.M;
-- a=new (T *)[N];
-+ a=new T *[N];
- for(i=0;i<N;i++)
- a[i]=new T[M];
- }
diff --git a/math/rascal/files/patch-rascal.1 b/math/rascal/files/patch-rascal.1
deleted file mode 100644
index 03bcabe4bd44..000000000000
--- a/math/rascal/files/patch-rascal.1
+++ /dev/null
@@ -1,70 +0,0 @@
---- rascal.1.orig Tue May 14 06:09:26 2002
-+++ rascal.1 Tue Dec 3 14:58:09 2002
-@@ -64,7 +64,7 @@
- For more information read the extensive user documentation:
-
- .B gv
--.I /usr/local/doc/rascal/rascal.ps
-+.I %%PREFIX%%/share/doc/rascal/rascal.ps
-
- .SH EXAMPLE SESSIONS
-
-@@ -114,10 +114,7 @@
- [-4 2;3 -1]
-
- .SH FILES
--.I /etc/rascal.rc
--.RS
--.RE
--.I /usr/local/bin/rascal.rc
-+.I %%PREFIX%%/etc/rascal.rc
- .RS
- .RE
- .I ./rascal.rc
-@@ -126,30 +123,30 @@
- i)
- .RE
- .P
--.I /usr/local/doc/rascal/rascal.ps
-+.I %%PREFIX%%/share/doc/rascal/rascal.ps
- .RS
- .RE
--.I /usr/local/doc/rascal/rascal.pdf
-+.I %%PREFIX%%/share/doc/rascal/rascal.pdf
- .RS
- .RE
--.I /usr/local/doc/rascal/rascal/rascal.html
-+.I %%PREFIX%%/share/doc/rascal/html/rascal.html
- .RS
- User documentation, to view it invoke
- .RS
- .RE
- .B gv
--.I /usr/local/doc/rascal/rascal.ps
-+.I %%PREFIX%%/share/doc/rascal/rascal.ps
- .RE
- .P
--.I /usr/local/doc/rascal/TEST
-+.I %%PREFIX%%/share/doc/rascal/TEST
- .RS
- Test suite, to test Rascal invoke
- .RS
- .RE
--.BI "rascal " "/usr/local/doc/rascal/TEST"
-+.BI "rascal " "%%PREFIX%%/share/doc/rascal/TEST"
- .RE
- .P
--.I /usr/local/doc/rascal/CHANGES
-+.I %%PREFIX%%/share/doc/rascal/CHANGES
- .RS
- Changelog
-
-@@ -169,7 +166,7 @@
- .I "http://rascal.sourceforge.net/"
- and attach the output of the test
- .RE
--.BI "rascal " "/usr/local/doc/rascal/TEST"
-+.BI "rascal " "%%PREFIX%%/share/doc/rascal/TEST"
-
- .SH AUTHOR
- Sebastian Ritterbusch <rascal@ritterbusch.de>