File revert_62ca7996_build_date_and_time.patch of Package acpica

From: Robert Moore <Robert.Moore@intel.com>
Subject: acpiexec: Add option to display build date and time
References: 
Patch-Mainline: R08_31_16
Git-commit: 62ca7996656f5fa06efedd395b78bf5a0f2c0258
Git-repo: github.com/acpica/acpica.git

Signed-off-by: Thomas Renninger <trenn@suse.de>

Useful when building multiple versions.

Index: acpica-unix2-20161117/source/tools/acpiexec/aemain.c
===================================================================
--- acpica-unix2-20161117.orig/source/tools/acpiexec/aemain.c	2016-11-17 18:20:17.000000000 +0100
+++ acpica-unix2-20161117/source/tools/acpiexec/aemain.c	2016-12-07 12:36:03.532283666 +0100
@@ -92,8 +92,6 @@ BOOLEAN                     AcpiGbl_Load
 BOOLEAN                     AcpiGbl_AeLoadOnly = FALSE;
 static UINT8                AcpiGbl_ExecutionMode = AE_MODE_COMMAND_LOOP;
 static char                 BatchBuffer[AE_BUFFER_SIZE];    /* Batch command buffer */
-static char                 AeBuildDate[] = __DATE__;
-static char                 AeBuildTime[] = __TIME__;
 
 #define ACPIEXEC_NAME               "AML Execution/Debug Utility"
 #define AE_SUPPORTED_OPTIONS        "?b:d:e:f^ghi:lm^rv^:x:"
@@ -170,7 +168,6 @@ usage (
     ACPI_OPTION ("-l",                  "Load tables and namespace only");
     ACPI_OPTION ("-r",                  "Use hardware-reduced FADT V5");
     ACPI_OPTION ("-v",                  "Display version information");
-    ACPI_OPTION ("-vd",                 "Display build date and time");
     ACPI_OPTION ("-vi",                 "Verbose initialization output");
     ACPI_OPTION ("-vr",                 "Verbose region handler output");
     ACPI_OPTION ("-x <DebugLevel>",     "Debug output level");
@@ -408,11 +405,6 @@ AeDoOptions (
             (void) AcpiOsTerminate ();
             return (1);
 
-        case 'd':
-
-            printf ("Build date/time: %s %s\n", AeBuildDate, AeBuildTime);
-            return (1);
-
         case 'i':
 
             AcpiDbgLevel |= ACPI_LV_INIT_NAMES;
openSUSE Build Service is sponsored by