acpica/do_not_use_build_date_and_time.patch

169 lines
6.2 KiB
Diff

Index: acpica-unix-20240321/source/compiler/asloptions.c
===================================================================
--- acpica-unix-20240321.orig/source/compiler/asloptions.c
+++ acpica-unix-20240321/source/compiler/asloptions.c
@@ -904,12 +904,6 @@ AslDoOptions (
AslGbl_NoErrors = TRUE;
break;
- case 'd':
-
- printf (ACPI_COMMON_SIGNON (ASL_COMPILER_NAME));
- printf (ACPI_COMMON_BUILD_TIME);
- exit (0);
-
case 'e':
/* Disable all warning/remark messages (errors only) */
Index: acpica-unix-20240321/source/include/acapps.h
===================================================================
--- acpica-unix-20240321.orig/source/include/acapps.h
+++ acpica-unix-20240321/source/include/acapps.h
@@ -188,9 +188,6 @@
Prefix, ACPICA_COPYRIGHT, \
Prefix
-#define ACPI_COMMON_BUILD_TIME \
- "Build date/time: %s %s\n", __DATE__, __TIME__
-
/* Macros for usage messages */
#define ACPI_USAGE_HEADER(Usage) \
Index: acpica-unix-20240321/source/tools/acpibin/abmain.c
===================================================================
--- acpica-unix-20240321.orig/source/tools/acpibin/abmain.c
+++ acpica-unix-20240321/source/tools/acpibin/abmain.c
@@ -191,7 +191,6 @@ AbDisplayUsage (
ACPI_OPTION ("-s <File>", "Update checksum for binary AML file");
ACPI_OPTION ("-t", "Terse mode");
ACPI_OPTION ("-v", "Display version information");
- ACPI_OPTION ("-vd", "Display build date and time");
}
@@ -298,11 +297,6 @@ main (
return (1);
- case 'd':
-
- printf (ACPI_COMMON_BUILD_TIME);
- return (1);
-
default:
printf ("Unknown option: -v%s\n", AcpiGbl_Optarg);
Index: acpica-unix-20240321/source/tools/acpidump/apmain.c
===================================================================
--- acpica-unix-20240321.orig/source/tools/acpidump/apmain.c
+++ acpica-unix-20240321/source/tools/acpidump/apmain.c
@@ -379,12 +379,6 @@ ApDoOptions (
fprintf (stderr, ACPI_COMMON_SIGNON (AP_UTILITY_NAME));
return (1);
- case 'd':
-
- fprintf (stderr, ACPI_COMMON_SIGNON (AP_UTILITY_NAME));
- printf (ACPI_COMMON_BUILD_TIME);
- return (1);
-
default:
printf ("Unknown option: -v%s\n", AcpiGbl_Optarg);
Index: acpica-unix-20240321/source/tools/acpiexec/aemain.c
===================================================================
--- acpica-unix-20240321.orig/source/tools/acpiexec/aemain.c
+++ acpica-unix-20240321/source/tools/acpiexec/aemain.c
@@ -280,7 +280,6 @@ usage (
ACPI_OPTION ("-v", "Display version information");
ACPI_OPTION ("-va", "Display verbose dump of any memory leaks");
- ACPI_OPTION ("-vd", "Display build date and time");
ACPI_OPTION ("-vh", "Verbose exception handler output");
ACPI_OPTION ("-vi", "Verbose initialization output");
ACPI_OPTION ("-vr", "Verbose region handler output");
@@ -546,11 +545,6 @@ AeDoOptions (
AcpiGbl_VerboseLeakDump = TRUE;
break;
- case 'd':
-
- printf (ACPI_COMMON_BUILD_TIME);
- return (1);
-
case 'h':
AcpiGbl_VerboseHandlers = TRUE;
Index: acpica-unix-20240321/source/tools/acpihelp/ahmain.c
===================================================================
--- acpica-unix-20240321.orig/source/tools/acpihelp/ahmain.c
+++ acpica-unix-20240321/source/tools/acpihelp/ahmain.c
@@ -187,7 +187,6 @@ AhDisplayUsage (
ACPI_USAGE_HEADER ("acpihelp <options> [Name/Prefix | HexValue]");
ACPI_OPTION ("-h", "Display help");
ACPI_OPTION ("-v", "Display version information");
- ACPI_OPTION ("-vd", "Display build date and time");
ACPI_USAGE_TEXT ("\nAML Names and Encodings (ACPI Machine Language):\n");
ACPI_OPTION ("-a [Name/Prefix | *]", "Display both ASL operator and AML opcode name(s)");
@@ -323,11 +322,6 @@ main (
return (1);
- case 'd':
-
- printf (ACPI_COMMON_BUILD_TIME);
- return (1);
-
default:
printf ("Unknown option: -v%s\n", AcpiGbl_Optarg);
Index: acpica-unix-20240321/source/tools/acpisrc/asmain.c
===================================================================
--- acpica-unix-20240321.orig/source/tools/acpisrc/asmain.c
+++ acpica-unix-20240321/source/tools/acpisrc/asmain.c
@@ -374,7 +374,6 @@ AsDisplayUsage (
ACPI_OPTION ("-s", "Generate source statistics only");
ACPI_OPTION ("-v", "Display version information");
ACPI_OPTION ("-vb", "Verbose mode");
- ACPI_OPTION ("-vd", "Display build date and time");
ACPI_OPTION ("-y", "Suppress file overwrite prompts");
}
@@ -479,11 +478,6 @@ main (
Gbl_VerboseMode = TRUE;
break;
- case 'd':
-
- printf (ACPI_COMMON_BUILD_TIME);
- return (0);
-
default:
printf ("Unknown option: -v%s\n", AcpiGbl_Optarg);
Index: acpica-unix-20240321/source/tools/acpixtract/axmain.c
===================================================================
--- acpica-unix-20240321.orig/source/tools/acpixtract/axmain.c
+++ acpica-unix-20240321/source/tools/acpixtract/axmain.c
@@ -181,7 +181,6 @@ DisplayUsage (
ACPI_OPTION ("-m", "Extract multiple DSDT/SSDTs to a single file");
ACPI_OPTION ("-s <signature>", "Extract all tables with <signature>");
ACPI_OPTION ("-v", "Display version information");
- ACPI_OPTION ("-vd", "Display build date and time");
ACPI_USAGE_TEXT ("\nExtract binary ACPI tables from text acpidump output\n");
ACPI_USAGE_TEXT ("Default invocation extracts the DSDT and all SSDTs\n");
@@ -259,11 +258,6 @@ main (
exit (0);
- case 'd':
-
- printf (ACPI_COMMON_BUILD_TIME);
- return (0);
-
default:
printf ("Unknown option: -v%s\n", AcpiGbl_Optarg);