gnu: openjdk: Update to 11.0.15.

* gnu/packages/java (openjdk): Update to 11.0.15.
[arguments]<#:phases>[fix-java-shebangs]: Adapt phase.
This commit is contained in:
Danny Milosavljevic 2022-05-02 23:33:19 +02:00
parent 4980630d1e
commit 271b2e43be
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -1768,7 +1768,7 @@ (define-public openjdk10
(define-public openjdk11
(package
(name "openjdk")
(version "11.0.13")
(version "11.0.15")
(source (origin
(method url-fetch)
(uri (string-append "https://openjdk-sources.osci.io/openjdk11/openjdk-"
@ -1776,7 +1776,7 @@ (define-public openjdk11
(file-name (string-append name "-" version ".tar.bz2"))
(sha256
(base32
"0xavz7msaadprq65p5bhp6sxcyp12p0zlbhb3aaz0cvp21c9pdm9"))
"0di91nnms2iq1svgq72r5y17am17r4vh2lq43k0bkcwpc84d6nd8"))
(modules '((guix build utils)))
(snippet
`(begin
@ -1819,8 +1819,8 @@ (define-public openjdk11
(lambda _
;; This file was "fixed" by patch-source-shebangs, but it requires
;; this exact first line.
(substitute* "make/data/blacklistedcertsconverter/blacklisted.certs.pem"
(("^#!.*") "#! java BlacklistedCertsConverter SHA-256\n"))
(substitute* "make/data/blockedcertsconverter/blocked.certs.pem"
(("^#!.*") "#! java BlockedCertsConverter SHA-256\n"))
#t))
(add-after 'unpack 'patch-jni-libs
;; Hardcode dynamically loaded libraries.