acpica/acpica-no-compiletime.patch

47 lines
1.6 KiB
Diff

diff -ur acpica-unix-20200528.orig/source/compiler/aslcompile.c acpica-unix-20200528/source/compiler/aslcompile.c
--- acpica-unix-20200528.orig/source/compiler/aslcompile.c 2020-07-02 23:06:04.925335370 +0200
+++ acpica-unix-20200528/source/compiler/aslcompile.c 2020-07-02 23:16:10.095860566 +0200
@@ -648,8 +648,6 @@
AslCompilerFileHeader (
UINT32 FileId)
{
- char *NewTime;
- time_t Aclock;
char *Prefix = "";
@@ -692,18 +690,10 @@
/* Compilation header with timestamp */
- Aclock = time (NULL);
- NewTime = ctime (&Aclock);
-
FlPrintFile (FileId,
- "%sCompilation of \"%s\" -",
+ "%sCompilation of \"%s\"\n",
Prefix, AslGbl_Files[ASL_FILE_INPUT].Filename);
- if (NewTime)
- {
- FlPrintFile (FileId, " %s%s\n", NewTime, Prefix);
- }
-
switch (FileId)
{
case ASL_FILE_C_SOURCE_OUTPUT:
diff -ur acpica-unix-20200528.orig/source/compiler/aslutils.c acpica-unix-20200528/source/compiler/aslutils.c
--- acpica-unix-20200528.orig/source/compiler/aslutils.c 2020-07-02 23:06:04.929335334 +0200
+++ acpica-unix-20200528/source/compiler/aslutils.c 2020-07-02 23:18:46.898454693 +0200
@@ -595,8 +595,8 @@
{
/* 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 */