summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/openjdk-13-classlist-reproducibility.patch
diff options
context:
space:
mode:
authorDanny Milosavljevic <[email protected]>2023-07-31 20:09:17 +0200
committerLudovic Courtès <[email protected]>2024-08-31 10:44:39 +0200
commit5996fb5b0c7ce7ca6b1552308199effa66cbcf6a (patch)
tree969661019abcac62096353f3994dbf72b1306e35 /gnu/packages/patches/openjdk-13-classlist-reproducibility.patch
parentd109a7322c0597b4f265df93061886984fca9037 (diff)
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 <[email protected]> Change-Id: I1b2943c989e2d6acfd8131ea4ede978c61948811
Diffstat (limited to 'gnu/packages/patches/openjdk-13-classlist-reproducibility.patch')
-rw-r--r--gnu/packages/patches/openjdk-13-classlist-reproducibility.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/packages/patches/openjdk-13-classlist-reproducibility.patch b/gnu/packages/patches/openjdk-13-classlist-reproducibility.patch
new file mode 100644
index 0000000000..326f6875ec
--- /dev/null
+++ b/gnu/packages/patches/openjdk-13-classlist-reproducibility.patch
@@ -0,0 +1,11 @@
+--- 6cllxkf0narh0b4wgx8npwjkznd7ifq0-openjdk-13.0.7-checkout/make/GenerateLinkOptData.gmk.orig 2022-04-04 17:20:33.012539984 +0200
++++ 6cllxkf0narh0b4wgx8npwjkznd7ifq0-openjdk-13.0.7-checkout/make/GenerateLinkOptData.gmk 2022-04-04 17:20:51.181032859 +0200
+@@ -78,7 +78,7 @@
+ $(CAT) $(LINK_OPT_DIR)/stderr $(JLI_TRACE_FILE) ; \
+ exit $$exitcode \
+ )
+- $(GREP) -v HelloClasslist [email protected] > $@
++ $(GREP) -v HelloClasslist [email protected] | sort > $@
+
+ # The jli trace is created by the same recipe as classlist. By declaring these
+ # dependencies, make will correctly rebuild both jli trace and classlist