r35818 - /packages/scilab/trunk/debian/patches/z_mipsel_arm_mgmt.diff

sylvestre-guest at users.alioth.debian.org sylvestre-guest at users.alioth.debian.org
Tue Sep 8 22:42:14 UTC 2009


Author: sylvestre-guest
Date: Tue Sep  8 22:42:14 2009
New Revision: 35818

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=35818
Log:
no color

Modified:
    packages/scilab/trunk/debian/patches/z_mipsel_arm_mgmt.diff

Modified: packages/scilab/trunk/debian/patches/z_mipsel_arm_mgmt.diff
URL: http://svn.debian.org/wsvn/debian-science/packages/scilab/trunk/debian/patches/z_mipsel_arm_mgmt.diff?rev=35818&op=diff
==============================================================================
--- packages/scilab/trunk/debian/patches/z_mipsel_arm_mgmt.diff (original)
+++ packages/scilab/trunk/debian/patches/z_mipsel_arm_mgmt.diff Tue Sep  8 22:42:14 2009
@@ -54,40 +54,40 @@
      # Generate error for unsupported JVM layout
  
      if test "x$ac_java_jvm_jni_lib_flags" = "x" ; then
-diff --git a/scilab/bin/scilab b/scilab/bin/scilab
-index 7efaf1a..3616712 100755
---- a/scilab/bin/scilab
-+++ b/scilab/bin/scilab
-@@ -328,13 +328,21 @@ case $OS in
- 				proc="amd64"
- 				;;
- 			i?86)
--
- 				if test -d ${JRE_HOME}/lib/`uname -m` ; then
- 					proc=`uname -m`
- 				else
- 					proc="i386"
- 				fi
- 				;;
-+			"mips"|"mipsel") # under mipsel, uname -m is
-+					# usually returning mips ...
-+					# but binary are in mipsel
-+				if test -d ${JRE_HOME}/lib/mipsel ; then
-+					proc="mipsel"
-+				else
-+					proc="mips"
-+				fi
-+				;;
- 			"ia64")
- 				proc="ia64"
- 				;;
-@@ -347,6 +355,9 @@ case $OS in
- 			"s390"|"s390x")
- 				proc="s390"
- 				;;
-+			"armv4l"|"armv5tel")
-+				proc="arm"
-+				;;
- 			*)
- 				echo "Could not find the Java configuration for the model <${MODEL}>. Please contact us."
- 				echo "Fallback on the model <${MODEL}> found by uname -m"
+diff --git a/scilab/bin/scilab b/scilab/bin/scilab
+index 7efaf1a..3616712 100755
+--- a/scilab/bin/scilab
++++ b/scilab/bin/scilab
+@@ -328,13 +328,21 @@ case $OS in
+ 				proc="amd64"
+ 				;;
+ 			i?86)
+-
+ 				if test -d ${JRE_HOME}/lib/`uname -m` ; then
+ 					proc=`uname -m`
+ 				else
+ 					proc="i386"
+ 				fi
+ 				;;
++			"mips"|"mipsel") # under mipsel, uname -m is
++					# usually returning mips ...
++					# but binary are in mipsel
++				if test -d ${JRE_HOME}/lib/mipsel ; then
++					proc="mipsel"
++				else
++					proc="mips"
++				fi
++				;;
+ 			"ia64")
+ 				proc="ia64"
+ 				;;
+@@ -347,6 +355,9 @@ case $OS in
+ 			"s390"|"s390x")
+ 				proc="s390"
+ 				;;
++			"armv4l"|"armv5tel")
++				proc="arm"
++				;;
+ 			*)
+ 				echo "Could not find the Java configuration for the model <${MODEL}>. Please contact us."
+ 				echo "Fallback on the model <${MODEL}> found by uname -m"




More information about the debian-science-commits mailing list