Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:bmwiedemann:reproducible:test
kbuild
reproducible.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File reproducible.patch of Package kbuild
Index: kbuild-0.1.9998svn2814/src/kmk/function.c =================================================================== --- kbuild-0.1.9998svn2814.orig/src/kmk/function.c +++ kbuild-0.1.9998svn2814/src/kmk/function.c @@ -4308,7 +4308,9 @@ func_date (char *o, char **argv, const c else { time_t tval; - time (&tval); + const char *source_date_epoch; + if ((source_date_epoch = getenv("SOURCE_DATE_EPOCH")) == NULL || (tval = (time_t)strtol(source_date_epoch, NULL, 10)) <= 0) + time (&tval); if (!strcmp (funcname, "date-utc")) t = *gmtime (&tval); else
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor