wok-next view ucl/stuff/patches/03-Reproducible-build.patch @ rev 20279

samba: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 08 12:57:30 2017 +0100 (2017-11-08)
parents
children
line source
1 From: Robert Luberda <robert@debian.org>
2 Date: Sun, 31 May 2015 13:09:15 +0200
3 Subject: 03 Reproducible build
5 Introduced BUILD_DATETIME pre-processor variable to
6 be used instead of __DATE__ __TIME__ to make build
7 reproducible.
8 ---
9 src/ucl_util.c | 4 ++++
10 1 file changed, 4 insertions(+)
12 diff --git a/src/ucl_util.c b/src/ucl_util.c
13 index 7e49a2a..58aa0ea 100644
14 --- a/src/ucl_util.c
15 +++ b/src/ucl_util.c
16 @@ -55,7 +55,11 @@ static const char __ucl_copyright[] =
17 "<markus@oberhumer.com>\n"
18 "http://www.oberhumer.com $\n\n"
19 "$Id: UCL version: v" UCL_VERSION_STRING ", " UCL_VERSION_DATE " $\n"
20 +#if defined (BUILD_DATETIME)
21 + "$Built: " BUILD_DATETIME " $\n"
22 +#else
23 "$Built: " __DATE__ " " __TIME__ " $\n"
24 +#endif
25 "$Info: " ACC_INFO_OS
26 #if defined(ACC_INFO_OS_POSIX)
27 "/" ACC_INFO_OS_POSIX