diff options
Diffstat (limited to 'meta/recipes-sato/webkit/webkitgtk/reproducibility.patch')
-rw-r--r-- | meta/recipes-sato/webkit/webkitgtk/reproducibility.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-sato/webkit/webkitgtk/reproducibility.patch b/meta/recipes-sato/webkit/webkitgtk/reproducibility.patch new file mode 100644 index 0000000000..93a431a0b1 --- /dev/null +++ b/meta/recipes-sato/webkit/webkitgtk/reproducibility.patch | |||
@@ -0,0 +1,30 @@ | |||
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 | |||
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> | ||
14 | --- | ||
15 | Source/JavaScriptCore/generator/GeneratedFile.rb | 2 +- | ||
16 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
17 | |||
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 | ||
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 | ||