[packages/openjdk8] attempt to fix x32 build

jajcus jajcus at pld-linux.org
Wed Aug 10 11:11:40 CEST 2016


commit 4e46d1234e51e5dbf8a6406e11152134769cbd7b
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Wed Aug 10 11:10:47 2016 +0200

    attempt to fix x32 build

 x32.patch | 11 +++++++++++
 1 file changed, 11 insertions(+)
---
diff --git a/x32.patch b/x32.patch
index 072ca15..34fdef3 100644
--- a/x32.patch
+++ b/x32.patch
@@ -106,3 +106,14 @@ diff -durN jdk8u-jdk8u66-b02.orig/jdk/src/solaris/native/java/net/PlainSocketImp
    esac
 
 
+--- jdk8u-jdk8u92-b31/jdk/src/share/native/com/sun/java/util/jar/pack/unpack.cpp.orig	2016-07-29 15:08:03.457784497 +0200
++++ jdk8u-jdk8u92-b31/jdk/src/share/native/com/sun/java/util/jar/pack/unpack.cpp	2016-07-29 15:10:09.380999329 +0200
+@@ -34,7 +34,7 @@
+  * _LP64 can be explicitly set (used on Linux).
+  * Solaris compilers will define __sparcv9 or __x86_64 on 64bit compilations.
+  */
+-#if defined(_LP64) || defined(__sparcv9) || defined(__x86_64)
++#if defined(_LP64) || defined(__sparcv9) || (defined(__x86_64) && !defined(__ILP32__))
+   #define LONG_LONG_FORMAT "%ld"
+   #define LONG_LONG_HEX_FORMAT "%lx"
+ #else
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openjdk8.git/commitdiff/4e46d1234e51e5dbf8a6406e11152134769cbd7b



More information about the pld-cvs-commit mailing list