summaryrefslogtreecommitdiffstats
path: root/debian/patches/hppa-is-32bit.diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/patches/hppa-is-32bit.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/patches/hppa-is-32bit.diff b/debian/patches/hppa-is-32bit.diff
new file mode 100644
index 000000000..b3ceb179f
--- /dev/null
+++ b/debian/patches/hppa-is-32bit.diff
@@ -0,0 +1,13 @@
+diff --git a/configure.ac b/configure.ac
+index 42dc3b4..f5a51c9 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -6671,7 +6671,7 @@ if test "$ENABLE_JAVA" != ""; then
+ JAVAINTERPRETER=`win_short_path_for_make "$JAVAINTERPRETER"`
+ elif test "$cross_compiling" != "yes"; then
+ case $CPUNAME in
+- AARCH64|AXP|X86_64|HPPA|IA64|POWERPC64|S390X|SPARC64|GODSON64)
++ AARCH64|AXP|X86_64|IA64|POWERPC64|S390X|SPARC64|GODSON64)
+ if test -f "$JAVAINTERPRETER" -a "`$JAVAINTERPRETER -version 2>&1 | $GREP -i 64-bit`" = "" >/dev/null; then
+ AC_MSG_WARN([You are building 64-bit binaries but the JDK $JAVAINTERPRETER is 32-bit])
+ AC_MSG_ERROR([You should pass the --with-jdk-home option pointing to a 64-bit JDK])