mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: openjdk13: Make reproducible.
* gnu/packages/patches/openjdk-13-classlist-reproducibility.patch: New file. * gnu/local.mk (dist_patch_DATA): Add patch. * gnu/packages/java.scm (openjdk13)[source]: Add patch. [arguments]<#:phases>[remove-timestamping]: Modify phase. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Change-Id: I1b2943c989e2d6acfd8131ea4ede978c61948811
This commit is contained in:
parent
d109a7322c
commit
5996fb5b0c
3 changed files with 26 additions and 3 deletions
|
@ -1669,9 +1669,20 @@ blacklisted.certs.pem"
|
|||
(define-public openjdk13
|
||||
(make-openjdk openjdk12 "13.0.14"
|
||||
"1v92i5rhahqkjw8mz09c9qasnxqc67ygy0y266kdmm534z0da755"
|
||||
(source (origin
|
||||
(inherit (package-source base))
|
||||
(patches '())))))
|
||||
(source (origin
|
||||
(inherit (package-source base))
|
||||
(patches (search-patches "openjdk-13-classlist-reproducibility.patch"
|
||||
"openjdk-10-jtask-reproducibility.patch"))))
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments openjdk12)
|
||||
((#:phases phases)
|
||||
#~(modify-phases #$phases
|
||||
(replace 'remove-timestamping
|
||||
(lambda _
|
||||
(substitute*
|
||||
"src/hotspot/share/runtime/abstract_vm_version.cpp"
|
||||
(("__DATE__") "")
|
||||
(("__TIME__") ""))))))))))
|
||||
|
||||
(define-public openjdk14
|
||||
(make-openjdk
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue