From 6cae8b8adf314bdba7bf8e1c4669657d588399aa Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Sun, 27 Sep 2020 22:36:10 -0400 Subject: k3s: import version locked upx dependency Signed-off-by: Bruce Ashfield --- .../upx/libucl/Reproducible-build.patch | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 recipes-extended/upx/libucl/Reproducible-build.patch (limited to 'recipes-extended/upx/libucl/Reproducible-build.patch') diff --git a/recipes-extended/upx/libucl/Reproducible-build.patch b/recipes-extended/upx/libucl/Reproducible-build.patch new file mode 100644 index 00000000..8398fe02 --- /dev/null +++ b/recipes-extended/upx/libucl/Reproducible-build.patch @@ -0,0 +1,27 @@ +From: Robert Luberda +Date: Sun, 31 May 2015 13:09:15 +0200 +Subject: 03 Reproducible build + +Introduced BUILD_DATETIME pre-processor variable to +be used instead of __DATE__ __TIME__ to make build +reproducible. +--- + src/ucl_util.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/src/ucl_util.c b/src/ucl_util.c +index 7e49a2a..58aa0ea 100644 +--- a/src/ucl_util.c ++++ b/src/ucl_util.c +@@ -55,7 +55,11 @@ static const char __ucl_copyright[] = + "\n" + "http://www.oberhumer.com $\n\n" + "$Id: UCL version: v" UCL_VERSION_STRING ", " UCL_VERSION_DATE " $\n" ++#if defined (BUILD_DATETIME) ++ "$Built: " BUILD_DATETIME " $\n" ++#else + "$Built: " __DATE__ " " __TIME__ " $\n" ++#endif + "$Info: " ACC_INFO_OS + #if defined(ACC_INFO_OS_POSIX) + "/" ACC_INFO_OS_POSIX -- cgit v1.2.3-54-g00ecf