diff options
author | Andreas Enge <andreas@enge.fr> | 2023-02-18 11:45:28 +0100 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2023-02-18 11:45:28 +0100 |
commit | 0825162a35362640b47d3cabe278fd7ea49140bd (patch) | |
tree | bb329a9c168dfc8f5edfef6299f2980c0cf3eaef /gnu | |
parent | ad4e7e05ec25ac1f60bbfe2a186f09b914514789 (diff) | |
download | guix-0825162a35362640b47d3cabe278fd7ea49140bd.tar.gz |
gnu: openjdk: Arrange patches.
* gnu/packages/java.scm (openjdk13): Remove patch openjdk-10-hotspot-stack-size.patch inherited from openjdk12. (openjdk14): Readd patch. (openjdk15): Remove patch. (openjdk16): Readd patch. (openjdk17): Remove patch.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/java.scm | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index ba10b3013f..37b3f05954 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -1449,7 +1449,10 @@ blacklisted.certs.pem" (define-public openjdk13 (make-openjdk openjdk12 "13.0.13" - "0pxf4dlig61k0pg7amg4mi919hzam7nzwckry01avgq1wj8ambji")) + "0pxf4dlig61k0pg7amg4mi919hzam7nzwckry01avgq1wj8ambji" + (source (origin + (inherit (package-source base)) + (patches '()))))) (define-public openjdk14 (make-openjdk @@ -1457,6 +1460,8 @@ blacklisted.certs.pem" "07k9bsbxwyf2z2n50z96nvhsdai916mxdxcr5lm44jz7f6xrwfq6" (source (origin (inherit (package-source base)) + (patches + (search-patches "openjdk-10-hotspot-stack-size.patch")) (snippet ;override snippet '(begin ;; The m4 macro uses 'help' to search for builtins, which is @@ -1474,8 +1479,7 @@ blacklisted.certs.pem" (modules '()) (snippet #f) (patches - (append (search-patches "openjdk-15-xcursor-no-dynamic.patch") - (origin-patches (package-source base)))))) + (search-patches "openjdk-15-xcursor-no-dynamic.patch")))) (inputs (modify-inputs (package-inputs base) (append libxcursor))) ;for our patch to work @@ -1487,12 +1491,19 @@ blacklisted.certs.pem" (define-public openjdk16 (make-openjdk openjdk15 "16.0.2" - "0587px2qbz07g3xi4a3ya6m630p72dvkxcn0bj1813pxnwvcgigz")) + "0587px2qbz07g3xi4a3ya6m630p72dvkxcn0bj1813pxnwvcgigz" + (source (origin + (inherit (package-source base)) + (patches + (search-patches "openjdk-10-hotspot-stack-size.patch")))))) (define-public openjdk17 (make-openjdk openjdk16 "17.0.5" "1asnysg6kxdkrmb88y6qihdr12ljsyxv0mg6hlcs7cwxgsdlqkfs" + (source (origin + (inherit (package-source base)) + (patches '()))) (arguments (substitute-keyword-arguments (package-arguments openjdk16) ((#:phases phases) |