forked from pool/acpica
- Update to version 20170119 (fate#322313). OBS-URL: https://build.opensuse.org/request/show/452440 OBS-URL: https://build.opensuse.org/package/show/hardware/acpica?expand=0&rev=101
58 lines
2.0 KiB
Diff
58 lines
2.0 KiB
Diff
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-20170119/source/compiler/aslcompile.c
|
|
===================================================================
|
|
--- acpica-unix2-20170119.orig/source/compiler/aslcompile.c 2017-01-19 17:45:05.000000000 +0100
|
|
+++ acpica-unix2-20170119/source/compiler/aslcompile.c 2017-01-25 16:29:14.797215317 +0100
|
|
@@ -471,8 +471,6 @@ void
|
|
AslCompilerFileHeader (
|
|
UINT32 FileId)
|
|
{
|
|
- struct tm *NewTime;
|
|
- time_t Aclock;
|
|
char *Prefix = "";
|
|
|
|
|
|
@@ -515,12 +513,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-20170119/source/compiler/aslutils.c
|
|
===================================================================
|
|
--- acpica-unix2-20170119.orig/source/compiler/aslutils.c 2017-01-25 16:29:14.801215545 +0100
|
|
+++ acpica-unix2-20170119/source/compiler/aslutils.c 2017-01-25 16:31:07.975615508 +0100
|
|
@@ -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 */
|