[Pkg-gridengine-commits] [pkg-gridengine] 01/02: Attempt support for x32
Afif Elghraoui
afif at moszumanska.debian.org
Tue Aug 30 07:20:22 UTC 2016
This is an automated email from the git hooks/post-receive script.
afif pushed a commit to branch topic/inst_sge
in repository pkg-gridengine.
commit 547604eeff5c6d147566b42df74291d91496bcaf
Author: Afif Elghraoui <afif at debian.org>
Date: Mon Aug 29 22:54:50 2016 -0700
Attempt support for x32
This targets #828884. If successful, this patch will close it.
---
debian/patches/series | 1 +
debian/patches/x32.patch | 31 +++++++++++++++++++++++++++++++
2 files changed, 32 insertions(+)
diff --git a/debian/patches/series b/debian/patches/series
index 1ae6c5f..3d5f2ae 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ compiler-flags.patch
union-wait.patch
m32_m64.patch
java-paths.patch
+x32.patch
diff --git a/debian/patches/x32.patch b/debian/patches/x32.patch
new file mode 100644
index 0000000..5dbba65
--- /dev/null
+++ b/debian/patches/x32.patch
@@ -0,0 +1,31 @@
+Description: Add support for x32
+ Used information from https://wiki.debian.org/X32Port
+Author: Afif Elghraoui <afif at debian.org>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=828884
+Forwarded: no
+Last-Update: 2016-08-29
+--- pkg-gridengine.orig/source/dist/util/arch
++++ pkg-gridengine/source/dist/util/arch
+@@ -200,7 +200,11 @@
+ lxmachine=sparc
+ ;;
+ x86_64)
+- lxmachine=amd64
++ if /usr/bin/cpp -dM </dev/null | grep -q __ILP32__; then
++ lxmachine=x32
++ else
++ lxmachine=amd64
++ fi
+ ;;
+ mips)
+ lxmachine=mips
+--- pkg-gridengine.orig/source/aimk
++++ pkg-gridengine/source/aimk
+@@ -1960,6 +1960,7 @@
+ case lx-ppc64le: # Fedora
+ case ulx-alpha:
+ case lx-alpha:
++ case lx-x32:
+ set JAVA_LIB_ARCH = `expr substr $buildarch 4 9`
+ breaksw
+ case lx-ppc64:
--
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