[Pkg-gridengine-commits] [pkg-gridengine] 01/06: Set proper Java paths for arm64, mips64el, sparc64, and alpha
Afif Elghraoui
afif at moszumanska.debian.org
Sun Sep 11 06:48:59 UTC 2016
This is an automated email from the git hooks/post-receive script.
afif pushed a commit to branch master
in repository pkg-gridengine.
commit 559410bb8869d17a50f2a52547fd5ad7330278d7
Author: Afif Elghraoui <afif at debian.org>
Date: Mon Aug 29 00:19:28 2016 -0700
Set proper Java paths for arm64, mips64el, sparc64, and alpha
See the patch header. The correct Java paths were identified from
the jre package lists (for example
https://packages.debian.org/sid/alpha/openjdk-8-jre-headless/filelist )
---
debian/patches/java-paths.patch | 38 ++++++++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 39 insertions(+)
diff --git a/debian/patches/java-paths.patch b/debian/patches/java-paths.patch
new file mode 100644
index 0000000..2ee52e9
--- /dev/null
+++ b/debian/patches/java-paths.patch
@@ -0,0 +1,38 @@
+Description: Fix JAVA_LIB_ARCH paths for certain architectures
+ Some architectures have unconventional (or just undefined, in the case of
+ alpha) paths to Java libraries. See Debian #828873. This patch works
+ arounds those inconsistencies to fix the package building on mips64el,
+ sparc64, and arm64. The build for alpha should also be working now.
+Author: Afif Elghraoui <afif at debian.org>
+Forwarded: no
+Last-Update: 2016-08-28
+--- pkg-gridengine.orig/source/aimk
++++ pkg-gridengine/source/aimk
+@@ -1957,8 +1957,9 @@
+ case lx-mips:
+ case lx-mipsel:
+ case lx-ppc:
+- case lx-sparc: # debian squeeze; no openjdk in wheezy, but has gcj
+ case lx-ppc64le: # Fedora
++ case ulx-alpha:
++ case lx-alpha:
+ set JAVA_LIB_ARCH = `expr substr $buildarch 4 9`
+ breaksw
+ case lx-ppc64:
+@@ -1972,9 +1973,15 @@
+ if ($FORCE_32BIT == 1) then
+ set JAVA_LIB_ARCH = arm
+ else
+- set JAVA_LIB_ARCH = arm64
++ set JAVA_LIB_ARCH = aarch64
+ endif
+ breaksw
++ case lx-mips64:
++ set JAVA_LIB_ARCH = mips64el
++ breaksw
++ case lx-sparc:
++ set JAVA_LIB_ARCH = sparcv9
++ breaksw
+ case hp11:
+ set JAVA_LIB_ARCH = PA_RISC
+ breaksw
diff --git a/debian/patches/series b/debian/patches/series
index e688a6e..1ae6c5f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
compiler-flags.patch
union-wait.patch
m32_m64.patch
+java-paths.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gridengine/pkg-gridengine.git
More information about the Pkg-gridengine-commits
mailing list