Patrick Williams | b58112e | 2024-03-07 11:16:36 -0600 | [diff] [blame] | 1 | From d096b945113ddecaf33062296e20b6d5a007cab3 Mon Sep 17 00:00:00 2001 |
| 2 | From: Richard Purdie <richard.purdie@linuxfoundation.org> |
| 3 | Date: Mon, 3 Jan 2022 14:18:34 +0000 |
| 4 | Subject: [PATCH] webkitgtk: Add reproducibility fix |
| 5 | |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 6 | Injection a year based on the current date isn't reproducible. Hack this |
| 7 | to a specific year for now for reproducibilty and to avoid autobuilder failures. |
| 8 | |
| 9 | The correct fix would be to use SOURCE_DATE_EPOCH from the environment and |
| 10 | then this could be submitted upstream, sadly my ruby isn't up to that. |
| 11 | |
| 12 | Upstream-Status: Pending [could be reworked] |
| 13 | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> |
Patrick Williams | b58112e | 2024-03-07 11:16:36 -0600 | [diff] [blame] | 14 | --- |
| 15 | Source/JavaScriptCore/generator/GeneratedFile.rb | 2 +- |
| 16 | 1 file changed, 1 insertion(+), 1 deletion(-) |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 17 | |
Patrick Williams | b58112e | 2024-03-07 11:16:36 -0600 | [diff] [blame] | 18 | diff --git a/Source/JavaScriptCore/generator/GeneratedFile.rb b/Source/JavaScriptCore/generator/GeneratedFile.rb |
| 19 | index 6ed2b6e4..86a28286 100644 |
| 20 | --- a/Source/JavaScriptCore/generator/GeneratedFile.rb |
| 21 | +++ b/Source/JavaScriptCore/generator/GeneratedFile.rb |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 22 | @@ -25,7 +25,7 @@ require 'date' |
| 23 | require 'digest' |
| 24 | |
| 25 | $LICENSE = <<-EOF |
| 26 | -Copyright (C) #{Date.today.year} Apple Inc. All rights reserved. |
| 27 | +Copyright (C) 2021 Apple Inc. All rights reserved. |
| 28 | |
| 29 | Redistribution and use in source and binary forms, with or without |
| 30 | modification, are permitted provided that the following conditions |