[libreoffice/f20] fix configure check for java on aarch64

David Tardon dtardon at fedoraproject.org
Fri Sep 5 13:46:39 UTC 2014


commit 897317ac7da073c1d5948dac4c24cd3c9779a542
Author: David Tardon <dtardon at redhat.com>
Date:   Fri Sep 5 08:25:03 2014 +0200

    fix configure check for java on aarch64

 0001-set-up-java-on-aarch64.patch |   28 ++++++++++++++++++++++++++++
 libreoffice.spec                  |    1 +
 2 files changed, 29 insertions(+), 0 deletions(-)
---
diff --git a/0001-set-up-java-on-aarch64.patch b/0001-set-up-java-on-aarch64.patch
new file mode 100644
index 0000000..88fdc7e
--- /dev/null
+++ b/0001-set-up-java-on-aarch64.patch
@@ -0,0 +1,28 @@
+From 6910ddd32da7f65ac38627aa5e5d2b0524cb4ef1 Mon Sep 17 00:00:00 2001
+From: David Tardon <dtardon at redhat.com>
+Date: Fri, 5 Sep 2014 08:23:50 +0200
+Subject: [PATCH] set up java on aarch64
+
+Change-Id: I76c9c79e5d21a99fa2578a4d98a7a7d41d32edb5
+---
+ configure.ac | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/configure.ac b/configure.ac
+index 2560a0d..873bcaa 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -7097,6 +7097,10 @@ if test -n "$ENABLE_JAVA" -a \( -z "$JAVALIB" -o -z "$JAVAINC" \); then
+ 
+         case "$host_cpu" in
+ 
++        aarch64)
++            JAVA_ARCH="aarch64"
++            JAVA_TOOLKIT="server"
++            ;;
+         alpha)
+             JAVA_ARCH="alpha"
+             JAVA_TOOLKIT="server"
+-- 
+1.9.3
+
diff --git a/libreoffice.spec b/libreoffice.spec
index 0570391..a217e53 100644
--- a/libreoffice.spec
+++ b/libreoffice.spec
@@ -310,6 +310,7 @@ Patch55: 0002-Linux-AArch64-port.patch
 Patch56: 0001-fix-KDE4-detection-on-aarch64.patch
 Patch57: 0001-drop-useless-test-for-ant-apache-regexp.patch
 Patch58: 0001-No-fstack-protect-strong-for-gcc3_linux_aarch64-cpp2.patch
+Patch59: 0001-set-up-java-on-aarch64.patch
 
 %define instdir %{_libdir}
 %define baseinstdir %{instdir}/libreoffice


More information about the scm-commits mailing list