SHA256
1
0
forked from pool/acpica
acpica/acpica-no-compiletime.patch

44 lines
1.5 KiB
Diff
Raw Normal View History

Index: acpica-unix-20180313/source/compiler/aslcompile.c
===================================================================
--- acpica-unix-20180313.orig/source/compiler/aslcompile.c
+++ acpica-unix-20180313/source/compiler/aslcompile.c
@@ -599,8 +599,6 @@ void
AslCompilerFileHeader (
UINT32 FileId)
{
- struct tm *NewTime;
- time_t Aclock;
char *Prefix = "";
@@ -643,12 +641,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-unix-20180313/source/compiler/aslutils.c
===================================================================
--- acpica-unix-20180313.orig/source/compiler/aslutils.c
+++ acpica-unix-20180313/source/compiler/aslutils.c
@@ -450,8 +450,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 */