3
0
Fork 0
forked from mirrors/nixpkgs

openjdk8: fix build by applying the patch from debian

see https://www.mail-archive.com/debian-bugs-rc@lists.debian.org/msg389555.html

closes #8090
This commit is contained in:
Pascal Wittmann 2015-05-31 18:01:23 +02:00
parent 81a79f9d03
commit d780e48b31
2 changed files with 13 additions and 0 deletions

View file

@ -0,0 +1,11 @@
diff -r 61edd5c7412e make/linux/Makefile
--- a/hotspot/make/linux/Makefile Mon Mar 02 18:12:06 2015 +0000
+++ b/hotspot/make/linux/Makefile Tue Mar 03 15:58:13 2015 +0100
@@ -233,7 +233,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))

View file

@ -65,6 +65,8 @@ let
./fix-java-home-jdk8.patch
./read-truststore-from-env-jdk8.patch
./currency-date-range-jdk8.patch
./JDK-8074312-hotspot.patch
];
preConfigure = ''
chmod +x configure