Bug#499248: CPU 64/32 bit detection missing for powerpc
Package: libjogl-java
Version: 1.1.1-1
Severity: important
Tags: patch
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The attached patch adds the missing CPU detection for powerpc. This allows
worldwind to run.
- -- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (102, 'experimental')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.26.5
Locale: LANG=de_CH.UTF-8, LC_CTYPE=de_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libjogl-java depends on:
ii antlr 2.7.7-6 language tool for constructing rec
ii libjogl-jni 1.1.1-1 Java bindings for OpenGL API (java
ii openjdk-6-jre [java2-runtime] 6b11-7 OpenJDK Java runtime, using Hotspo
libjogl-java recommends no packages.
Versions of packages libjogl-java suggests:
pn libjogl-java-doc <none> (no description available)
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQFI0MmdWoGvjmrbsgARAsfFAJwI3nKAFZuw7c3biI4ZpugXDkmqlQCfZTrd
esjzKLgIJe1j7OV5cicADCU=
=7W39
-----END PGP SIGNATURE-----
diff -up -ru libjogl-java-1.1.1.orig/gluegen/src/java/com/sun/gluegen/runtime/CPU.java libjogl-java-1.1.1/gluegen/src/java/com/sun/gluegen/runtime/CPU.java
--- libjogl-java-1.1.1.orig/gluegen/src/java/com/sun/gluegen/runtime/CPU.java 2008-02-23 06:46:44.000000000 +0100
+++ libjogl-java-1.1.1/gluegen/src/java/com/sun/gluegen/runtime/CPU.java 2008-09-17 10:09:58.000000000 +0200
@@ -56,6 +56,7 @@ public class CPU {
if ((os.startsWith("windows") && cpu.equals("x86")) ||
(os.startsWith("linux") && cpu.equals("i386")) ||
(os.startsWith("linux") && cpu.equals("x86")) ||
+ (os.startsWith("linux") && cpu.equals("ppc")) ||
(os.startsWith("mac os") && cpu.equals("ppc")) ||
(os.startsWith("mac os") && cpu.equals("i386")) ||
(os.startsWith("sunos") && cpu.equals("sparc")) ||
@@ -67,6 +68,7 @@ public class CPU {
(os.startsWith("linux") && cpu.equals("amd64")) ||
(os.startsWith("linux") && cpu.equals("x86_64")) ||
(os.startsWith("linux") && cpu.equals("ia64")) ||
+ (os.startsWith("linux") && cpu.equals("ppc64")) ||
(os.startsWith("mac os") && cpu.equals("x86_64")) ||
(os.startsWith("sunos") && cpu.equals("sparcv9")) ||
(os.startsWith("sunos") && cpu.equals("amd64"))) {
Reply to: