xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-sato/webkit/webkitgtk/reproducibility.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunInjection a year based on the current date isn't reproducible. Hack this
2*4882a593Smuzhiyunto a specific year for now for reproducibilty and to avoid autobuilder failures.
3*4882a593Smuzhiyun
4*4882a593SmuzhiyunThe correct fix would be to use SOURCE_DATE_EPOCH from the environment and
5*4882a593Smuzhiyunthen this could be submitted upstream, sadly my ruby isn't up to that.
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunUpstream-Status: Pending [could be reworked]
8*4882a593SmuzhiyunSigned-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunIndex: webkitgtk-2.34.2/Source/JavaScriptCore/generator/GeneratedFile.rb
11*4882a593Smuzhiyun===================================================================
12*4882a593Smuzhiyun--- webkitgtk-2.34.2.orig/Source/JavaScriptCore/generator/GeneratedFile.rb
13*4882a593Smuzhiyun+++ webkitgtk-2.34.2/Source/JavaScriptCore/generator/GeneratedFile.rb
14*4882a593Smuzhiyun@@ -25,7 +25,7 @@ require 'date'
15*4882a593Smuzhiyun require 'digest'
16*4882a593Smuzhiyun
17*4882a593Smuzhiyun $LICENSE = <<-EOF
18*4882a593Smuzhiyun-Copyright (C) #{Date.today.year} Apple Inc. All rights reserved.
19*4882a593Smuzhiyun+Copyright (C) 2021 Apple Inc. All rights reserved.
20*4882a593Smuzhiyun
21*4882a593Smuzhiyun Redistribution and use in source and binary forms, with or without
22*4882a593Smuzhiyun modification, are permitted provided that the following conditions
23