SHA256
1
0
forked from pool/acpica
Files
acpica/acpica-no-compiletime.patch
Thomas Renninger 0963c68a97 Accepting request 692336 from home:trenn:branches:hardware
- Update to version 20190405
iASL: Implemented an enhanced multiple file compilation that combines 
named objects from all input files to a single namespace. With this 
feature, any unresolved external declarations as well as duplicate named 
object declarations can be detected during compilation rather than 
generating errors much later at runtime. The following commands are 
examples that utilize this feature:
    iasl dsdt.asl ssdt.asl
    iasl dsdt.asl ssdt1.asl ssdt2.asl
    iasl dsdt.asl ssdt*.asl
- Adjusted patch:
M acpica-no-compiletime.patch

OBS-URL: https://build.opensuse.org/request/show/692336
OBS-URL: https://build.opensuse.org/package/show/hardware/acpica?expand=0&rev=119
2019-04-08 15:29:14 +00:00

45 lines
1.6 KiB
Diff

Index: acpica-unix-20190405/source/compiler/aslcompile.c
===================================================================
--- acpica-unix-20190405.orig/source/compiler/aslcompile.c 2019-04-05 17:12:58.000000000 +0200
+++ acpica-unix-20190405/source/compiler/aslcompile.c 2019-04-08 16:12:09.102476939 +0200
@@ -647,8 +647,6 @@ void
AslCompilerFileHeader (
UINT32 FileId)
{
- struct tm *NewTime;
- time_t Aclock;
char *Prefix = "";
@@ -690,13 +688,9 @@ AslCompilerFileHeader (
}
/* Compilation header with timestamp */
-
- (void) time (&Aclock);
- NewTime = localtime (&Aclock);
-
FlPrintFile (FileId,
- "%sCompilation of \"%s\" - %s%s\n",
- Prefix, AslGbl_Files[ASL_FILE_INPUT].Filename, asctime (NewTime),
+ "%sCompilation of \"%s\"\n",
+ Prefix, AslGbl_Files[ASL_FILE_INPUT].Filename,
Prefix);
switch (FileId)
Index: acpica-unix-20190405/source/compiler/aslutils.c
===================================================================
--- acpica-unix-20190405.orig/source/compiler/aslutils.c 2019-04-05 17:12:58.000000000 +0200
+++ acpica-unix-20190405/source/compiler/aslutils.c 2019-04-08 16:12:09.102476939 +0200
@@ -547,8 +547,8 @@ UtDisplayOneSummary (
{
/* 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 */