forked from pool/java-21-openjdk
This commit is contained in:
parent
0fe4157663
commit
bb54d40400
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 1 07:12:05 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Added patch:
|
||||||
|
* reproducible-jlink.patch
|
||||||
|
+ make the timestamp in jmods reproducible
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 7 12:44:28 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
Thu Mar 7 12:44:28 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
@ -161,6 +161,7 @@ Patch11: reproducible-properties.patch
|
|||||||
Patch12: adlc-parser.patch
|
Patch12: adlc-parser.patch
|
||||||
# Fix: implicit-pointer-decl
|
# Fix: implicit-pointer-decl
|
||||||
Patch13: implicit-pointer-decl.patch
|
Patch13: implicit-pointer-decl.patch
|
||||||
|
Patch14: reproducible-jlink.patch
|
||||||
Patch15: system-pcsclite.patch
|
Patch15: system-pcsclite.patch
|
||||||
Patch16: fips.patch
|
Patch16: fips.patch
|
||||||
#
|
#
|
||||||
@ -391,6 +392,7 @@ rm -rvf src/java.desktop/share/native/liblcms/lcms2*
|
|||||||
%patch -P 11 -p1
|
%patch -P 11 -p1
|
||||||
%patch -P 12 -p1
|
%patch -P 12 -p1
|
||||||
%patch -P 13 -p1
|
%patch -P 13 -p1
|
||||||
|
%patch -P 14 -p1
|
||||||
|
|
||||||
%if %{with_system_pcsc}
|
%if %{with_system_pcsc}
|
||||||
%patch -P 15 -p1
|
%patch -P 15 -p1
|
||||||
|
11
reproducible-jlink.patch
Normal file
11
reproducible-jlink.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- a/src/jdk.jlink/share/classes/jdk/tools/jlink/internal/JlinkTask.java
|
||||||
|
+++ b/src/jdk.jlink/share/classes/jdk/tools/jlink/internal/JlinkTask.java
|
||||||
|
@@ -763,7 +763,7 @@ public class JlinkTask {
|
||||||
|
|
||||||
|
private String getSaveOpts() {
|
||||||
|
StringBuilder sb = new StringBuilder();
|
||||||
|
- sb.append('#').append(new Date()).append("\n");
|
||||||
|
+ sb.append('#').append(System.getenv("SOURCE_DATE_EPOCH") != null ? new Date(1000 * Long.parseLong(System.getenv("SOURCE_DATE_EPOCH"))) : new Date()).append("\n");
|
||||||
|
for (String c : optionsHelper.getInputCommand()) {
|
||||||
|
sb.append(c).append(" ");
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user