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

Lutz Kohl lutzikohli at spambog.de
Sat Jul 14 08:45:31 UTC 2012


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





More information about the Pkg-octave-devel mailing list