[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Pkg-octave-devel] Bug#681355: Patch for #681355



The patch below fixes the problem for architecture armel.

Please note that other debian architectures might also be affected
by the bug and need similar fixes.

The cause is that the src/configure script tests only for a limited
number of known architectures. arm was not among them.

diff -u java/src/configure octave-java-1.2.8/src/configure
--- java/src/configure	2011-06-06 13:07:35.000000000 +0200
+++ octave-java-1.2.8/src/configure	2012-07-13 21:21:25.771263975 +0200
@@ -3301,6 +3301,8 @@
             JAVA_ARCH="solaris"
           elif test -d "${JAVA_HOME}/jre/lib/solarisv9"; then
             JAVA_ARCH="solarisv9"
+          elif test -d "${JAVA_HOME}/jre/lib/arm"; then
+            JAVA_ARCH="arm"
           fi
           if test -n "$JAVA_ARCH"; then
             HAVE_JAVA=yes





Reply to: