diff options
Diffstat (limited to 'meta/recipes-sato')
-rw-r--r-- | meta/recipes-sato/webkit/webkitgtk/reproducibility.patch | 22 | ||||
-rw-r--r-- | meta/recipes-sato/webkit/webkitgtk_2.34.2.bb | 1 |
2 files changed, 23 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..e866a1a193 --- /dev/null +++ b/meta/recipes-sato/webkit/webkitgtk/reproducibility.patch | |||
@@ -0,0 +1,22 @@ | |||
1 | Injection a year based on the current date isn't reproducible. Hack this | ||
2 | to a specific year for now for reproducibilty and to avoid autobuilder failures. | ||
3 | |||
4 | The correct fix would be to use SOURCE_DATE_EPOCH from the environment and | ||
5 | then this could be submitted upstream, sadly my ruby isn't up to that. | ||
6 | |||
7 | Upstream-Status: Pending [could be reworked] | ||
8 | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> | ||
9 | |||
10 | Index: webkitgtk-2.34.2/Source/JavaScriptCore/generator/GeneratedFile.rb | ||
11 | =================================================================== | ||
12 | --- webkitgtk-2.34.2.orig/Source/JavaScriptCore/generator/GeneratedFile.rb | ||
13 | +++ webkitgtk-2.34.2/Source/JavaScriptCore/generator/GeneratedFile.rb | ||
14 | @@ -25,7 +25,7 @@ require 'date' | ||
15 | require 'digest' | ||
16 | |||
17 | $LICENSE = <<-EOF | ||
18 | -Copyright (C) #{Date.today.year} Apple Inc. All rights reserved. | ||
19 | +Copyright (C) 2021 Apple Inc. All rights reserved. | ||
20 | |||
21 | Redistribution and use in source and binary forms, with or without | ||
22 | modification, are permitted provided that the following conditions | ||
diff --git a/meta/recipes-sato/webkit/webkitgtk_2.34.2.bb b/meta/recipes-sato/webkit/webkitgtk_2.34.2.bb index a9b151e3c3..aa07139522 100644 --- a/meta/recipes-sato/webkit/webkitgtk_2.34.2.bb +++ b/meta/recipes-sato/webkit/webkitgtk_2.34.2.bb | |||
@@ -18,6 +18,7 @@ SRC_URI = "https://www.webkitgtk.org/releases/${BPN}-${PV}.tar.xz \ | |||
18 | file://reduce-memory-overheads.patch \ | 18 | file://reduce-memory-overheads.patch \ |
19 | file://musl-lower-stack-usage.patch \ | 19 | file://musl-lower-stack-usage.patch \ |
20 | file://0001-Fix-build-without-opengl-or-es.patch \ | 20 | file://0001-Fix-build-without-opengl-or-es.patch \ |
21 | file://reproducibility.patch \ | ||
21 | " | 22 | " |
22 | 23 | ||
23 | SRC_URI[sha256sum] = "584677d6e7cae12e27cdcc8e05b4cf73b54849a24afc3d7a40cec91016deff00" | 24 | SRC_URI[sha256sum] = "584677d6e7cae12e27cdcc8e05b4cf73b54849a24afc3d7a40cec91016deff00" |