Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.1:ARM:Staging
acpica
acpica-no-compiletime.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File acpica-no-compiletime.patch of Package acpica
From: <idoenmez@suse.de> acpica: Do not compile in date or time into binaries Otherwise the data/time compiled in may cause constant re-compilation in build service environments Signed-off-by: Thomas Renninger <trenn@suse.de> --- source/compiler/aslcompile.c | 9 ++------- source/compiler/aslutils.c | 4 ++-- source/include/acapps.h | 8 ++++---- 3 files changed, 8 insertions(+), 13 deletions(-) Index: acpica-unix2-20170531/source/compiler/aslcompile.c =================================================================== --- acpica-unix2-20170531.orig/source/compiler/aslcompile.c 2017-05-31 19:57:50.000000000 +0200 +++ acpica-unix2-20170531/source/compiler/aslcompile.c 2017-06-13 12:06:28.534979117 +0200 @@ -492,8 +492,6 @@ void AslCompilerFileHeader ( UINT32 FileId) { - struct tm *NewTime; - time_t Aclock; char *Prefix = ""; @@ -536,12 +534,9 @@ AslCompilerFileHeader ( /* Compilation header with timestamp */ - (void) time (&Aclock); - NewTime = localtime (&Aclock); - FlPrintFile (FileId, - "%sCompilation of \"%s\" - %s%s\n", - Prefix, Gbl_Files[ASL_FILE_INPUT].Filename, asctime (NewTime), + "%sCompilation of \"%s\"\n", + Prefix, Gbl_Files[ASL_FILE_INPUT].Filename, Prefix); switch (FileId) Index: acpica-unix2-20170531/source/compiler/aslutils.c =================================================================== --- acpica-unix2-20170531.orig/source/compiler/aslutils.c 2017-05-31 19:57:51.000000000 +0200 +++ acpica-unix2-20170531/source/compiler/aslutils.c 2017-06-13 12:06:28.534979117 +0200 @@ -381,8 +381,8 @@ UtDisplaySummary ( { /* Compiler name and version number */ - FlPrintFile (FileId, "%s version %X [%s]\n\n", - ASL_COMPILER_NAME, (UINT32) ACPI_CA_VERSION, __DATE__); + FlPrintFile (FileId, "%s version %X\n\n", + ASL_COMPILER_NAME, (UINT32) ACPI_CA_VERSION); } /* Summary of main input and output files */
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