git.iko.soy/typeable/nixpkgs
on master help sign in
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

commitd780e48b3104cd5585a87665854803e42a664941 authorPascal Wittmann <mail@pascal-wittmann.de> dateSun 31 May 2015, 18:01 (12 years ago) parent81a79f9
2 files changed+13
pkgs/development/compilers/openjdk/JDK-8074312-hotspot.patch+11 pkgs/development/compilers/openjdk/openjdk8.nix+2
pkgs/development/compilers/openjdk/JDK-8074312-hotspot.patchnew file+11
@@ -0,0 +1,11 @@
1+diff -r 61edd5c7412e make/linux/Makefile
2+--- a/hotspot/make/linux/Makefile Mon Mar 02 18:12:06 2015 +0000
3++++ b/hotspot/make/linux/Makefile Tue Mar 03 15:58:13 2015 +0100
4+@@ -233,7 +233,7 @@
5+ # Solaris 2.5.1, 2.6).
6+ # Disable this check by setting DISABLE_HOTSPOT_OS_VERSION_CHECK=ok.
7+
8+-SUPPORTED_OS_VERSION = 2.4% 2.5% 2.6% 3%
9++SUPPORTED_OS_VERSION = 2.4% 2.5% 2.6% 3% 4%
10+ OS_VERSION := $(shell uname -r)
11+ EMPTY_IF_NOT_SUPPORTED = $(filter $(SUPPORTED_OS_VERSION),$(OS_VERSION))
pkgs/development/compilers/openjdk/openjdk8.nix+2
@@ -65,6 +65,8 @@ let
6565 ./fix-java-home-jdk8.patch
6666 ./read-truststore-from-env-jdk8.patch
6767 ./currency-date-range-jdk8.patch
68+ ./JDK-8074312-hotspot.patch
69+
6870 ];
6971 preConfigure = ''
7072 chmod +x configure