[gluegen2] 01/01: Fix powerpc support (pagesize=65536).
Gilles Filippini
pini at debian.org
Wed Oct 28 08:55:50 UTC 2015
This is an automated email from the git hooks/post-receive script.
pini pushed a commit to branch master
in repository gluegen2.
commit f19cf5db12a2fb00d5f380047f9c849fd8259f99
Author: Gilles Filippini <pini at debian.org>
Date: Tue Oct 27 22:12:25 2015 +0000
Fix powerpc support (pagesize=65536).
---
debian/changelog | 6 ++++--
debian/patches/powerpc-support.diff | 16 ++++++++++++++++
debian/patches/series | 1 +
3 files changed, 21 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 4675b35..d4c4990 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,9 @@
-gluegen2 (2.3.2-3~exp1) experimental; urgency=medium
+gluegen2 (2.3.2-3~exp2) experimental; urgency=medium
* Team upload.
- * New patch s390x-support.diff: add support for s390x.
+ * New patches:
+ - s390x-support.diff: add support for s390x
+ - powerpc-support.diff: fix pagesize support for powerpc.
-- Gilles Filippini <pini at debian.org> Tue, 27 Oct 2015 11:34:36 +0100
diff --git a/debian/patches/powerpc-support.diff b/debian/patches/powerpc-support.diff
new file mode 100644
index 0000000..5470880
--- /dev/null
+++ b/debian/patches/powerpc-support.diff
@@ -0,0 +1,16 @@
+Description: on Debian powerpc porter boxes, 'getconf PAGESIZE'
+ returns 65536. This patch fixes many testcase failures.
+Author: Gilles Filippini <pini at debian.org>
+Index: gluegen2/src/java/com/jogamp/common/os/MachineDataInfo.java
+===================================================================
+--- gluegen2.orig/src/java/com/jogamp/common/os/MachineDataInfo.java
++++ gluegen2/src/java/com/jogamp/common/os/MachineDataInfo.java
+@@ -59,7 +59,7 @@ public class MachineDataInfo {
+ private final static int[] size_arm_mips_32 = { 4, 4, 4, 8, 8, 4, 4096 };
+ private final static int[] size_x86_32_unix = { 4, 4, 4, 8, 12, 4, 4096 };
+ private final static int[] size_x86_32_macos = { 4, 4, 4, 8, 16, 4, 4096 };
+- private final static int[] size_ppc_32_unix = { 4, 4, 4, 8, 16, 4, 4096 };
++ private final static int[] size_ppc_32_unix = { 4, 4, 4, 8, 16, 4, 65536 };
+ private final static int[] size_sparc_32_sunos = { 4, 4, 4, 8, 16, 4, 8192 };
+ private final static int[] size_x86_32_windows = { 4, 4, 4, 8, 12, 4, 4096 };
+ private final static int[] size_lp64_unix = { 4, 8, 4, 8, 16, 8, 4096 };
diff --git a/debian/patches/series b/debian/patches/series
index 99fe81e..21d4996 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -24,3 +24,4 @@ fix-arm64-build-config.diff
tests.diff
disable-static-linking.diff
s390x-support.diff
+powerpc-support.diff
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/gluegen2.git
More information about the pkg-java-commits
mailing list