mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-01 14:55:55 +02: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:
committed by
Ludovic Courtès
parent
d109a7322c
commit
5996fb5b0c
+14
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user