aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-mathematics/scilab/files')
-rw-r--r--sci-mathematics/scilab/files/full_support.diff24
-rw-r--r--sci-mathematics/scilab/files/renesas-sh.diff34
-rw-r--r--sci-mathematics/scilab/files/sparc64.diff40
3 files changed, 98 insertions, 0 deletions
diff --git a/sci-mathematics/scilab/files/full_support.diff b/sci-mathematics/scilab/files/full_support.diff
new file mode 100644
index 000000000..9d7554e8c
--- /dev/null
+++ b/sci-mathematics/scilab/files/full_support.diff
@@ -0,0 +1,24 @@
+commit 409faec413e7491450f51059af02b0469cbb01eb
+Author: Sylvestre Ledru <sylvestre.ledru@scilab.org>
+Date: Fri Feb 19 23:42:38 2010 +0100
+
+ full support of sparc64
+
+diff --git a/scilab/bin/scilab b/scilab/bin/scilab
+index c4d6548..7ec4bbc 100755
+--- a/scilab/bin/scilab
++++ b/scilab/bin/scilab
+@@ -371,9 +371,12 @@ fi
+ "ppc")
+ proc="ppc"
+ ;;
+- "alpha")
++ "alpha")
+ proc="alpha"
+ ;;
++ "sparc64")
++ proc="sparc"
++ ;;
+ *)
+ echo "Could not find the Java configuration for the model <${MODEL}>. Please contact us."
+ ;;
diff --git a/sci-mathematics/scilab/files/renesas-sh.diff b/sci-mathematics/scilab/files/renesas-sh.diff
new file mode 100644
index 000000000..7aa655fe6
--- /dev/null
+++ b/sci-mathematics/scilab/files/renesas-sh.diff
@@ -0,0 +1,34 @@
+commit 9586bf474819f11734927d5138056c0c837b9bdb
+Author: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
+Date: Fri Feb 19 23:44:51 2010 +0100
+
+ Support of Renesas SH(sh4)
+
+diff --git a/scilab/bin/scilab b/scilab/bin/scilab
+index 7ec4bbc..f453f9a 100755
+--- a/scilab/bin/scilab
++++ b/scilab/bin/scilab
+@@ -377,6 +377,9 @@ fi
+ "sparc64")
+ proc="sparc"
+ ;;
++ sh*)
++ proc="sh"
++ ;;
+ *)
+ echo "Could not find the Java configuration for the model <${MODEL}>. Please contact us."
+ ;;
+diff --git a/scilab/m4/java.m4 b/scilab/m4/java.m4
+index 469019b..918fbf7 100644
+--- a/scilab/m4/java.m4
++++ b/scilab/m4/java.m4
+@@ -446,6 +446,9 @@ AC_DEFUN([AC_JAVA_JNI_LIBS], [
+ s390x) # s390 arch can also returns s390x
+ machine=s390
+ ;;
++ sh*)
++ machine=sh
++ ;;
+ esac
+
+ AC_MSG_LOG([Looking for JNI libs with $machine as machine hardware name])
diff --git a/sci-mathematics/scilab/files/sparc64.diff b/sci-mathematics/scilab/files/sparc64.diff
new file mode 100644
index 000000000..ab852d2ab
--- /dev/null
+++ b/sci-mathematics/scilab/files/sparc64.diff
@@ -0,0 +1,40 @@
+commit 82bc3daabc423d8fa472308ace64979587c80f92
+Author: Sylvestre Ledru <sylvestre.ledru@scilab.org>
+Date: Fri Feb 19 12:08:35 2010 +0100
+
+ Support of Linux sparc64 (debian)
+
+diff --git a/scilab/m4/java.m4 b/scilab/m4/java.m4
+index 9b75699..469019b 100644
+--- a/scilab/m4/java.m4
++++ b/scilab/m4/java.m4
+@@ -433,7 +433,7 @@ AC_DEFUN([AC_JAVA_JNI_LIBS], [
+ # Solaris 10 x86
+ machine=i386
+ ;;
+- sun*)
++ sun*|sparc64)
+ # Sun
+ machine=sparc
+ ;;
+--- a/scilab/bin/scilab 2010-02-19 23:59:34.000000000 +0100
++++ b/scilab/bin/scilab 2010-02-20 00:00:23.000000000 +0100
+@@ -374,6 +374,9 @@
+ "alpha")
+ proc="alpha"
+ ;;
++ "sparc64")
++ proc="sparc"
++ ;;
+ *)
+ echo "Could not find the Java configuration for the model <${MODEL}>. Please contact us."
+ ;;
+@@ -392,7 +395,7 @@
+ proc="i386"
+ ;;
+ # check for the 64 bits syntax
+- "sparc")
++ "sparc"|"sparc64")
+ proc="sparc"
+ ;;
+ *)