From de718e4dd13b7a3f6355918f67d7c009267d1634f0f12f19ef9929d680ecfcc3 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Tue, 5 May 2015 15:16:49 +0000 Subject: [PATCH] Fix build with kernel 4 OBS-URL: https://build.opensuse.org/package/show/Java:Factory/java-1_8_0-openjdk?expand=0&rev=86 --- hotspot-support-kernel-4.patch | 11 +++++++++++ java-1_8_0-openjdk.changes | 7 +++++++ java-1_8_0-openjdk.spec | 3 +++ 3 files changed, 21 insertions(+) create mode 100644 hotspot-support-kernel-4.patch diff --git a/hotspot-support-kernel-4.patch b/hotspot-support-kernel-4.patch new file mode 100644 index 0000000..0aacbc4 --- /dev/null +++ b/hotspot-support-kernel-4.patch @@ -0,0 +1,11 @@ +--- jdk8/hotspot/make/linux/Makefile 2015-05-05 15:23:20.129959059 +0200 ++++ jdk8/hotspot/make/linux/Makefile 2015-05-05 15:23:52.314222316 +0200 +@@ -229,7 +229,7 @@ + # Solaris 2.5.1, 2.6). + # Disable this check by setting DISABLE_HOTSPOT_OS_VERSION_CHECK=ok. + +-SUPPORTED_OS_VERSION = 2.4% 2.5% 2.6% 3% ++SUPPORTED_OS_VERSION = 2.4% 2.5% 2.6% 3% 4% + OS_VERSION := $(shell uname -r) + EMPTY_IF_NOT_SUPPORTED = $(filter $(SUPPORTED_OS_VERSION),$(OS_VERSION)) + diff --git a/java-1_8_0-openjdk.changes b/java-1_8_0-openjdk.changes index a2f6211..fe4dc50 100644 --- a/java-1_8_0-openjdk.changes +++ b/java-1_8_0-openjdk.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue May 5 15:15:09 UTC 2015 - fstrba@suse.com + +- Added patch: + * hotspot-support-kernel-4.patch + * fix build on systems having kernel 4.0 + ------------------------------------------------------------------- Thu Apr 16 15:47:54 UTC 2015 - fstrba@suse.com diff --git a/java-1_8_0-openjdk.spec b/java-1_8_0-openjdk.spec index 7b96258..b1503cd 100644 --- a/java-1_8_0-openjdk.spec +++ b/java-1_8_0-openjdk.spec @@ -215,6 +215,8 @@ Patch8: compare-pointer-with-literal.patch Patch9: aarch64-misc.patch # From icedtea: Increase default memory limits Patch10: memory-limits.patch +# Fix hotspot for kernel 4.0 +Patch11: hotspot-support-kernel-4.patch # Fix use of unintialized memory in adlc parser Patch12: adlc-parser.patch # Fix: implicit-pointer-decl @@ -507,6 +509,7 @@ rm -rvf jdk/src/share/native/sun/java2d/cmm/lcms/lcms2* %patch8 -p1 %patch9 -p1 %patch10 -p1 +%patch11 -p1 %patch12 -p1 %patch13 -p1