fwts/fwts-fix-non-acpi.patch
Martin Pluskal fe23b53d3c - Update to version 25.01.00:
* lib: fwts_version.h - update to V25.01.00
  * debian: update changelog
  * dmicheck: check the config files exist for CONFIG_STRICT_DEVMEM setting
  * acpi: s3: reading residencyslp_s0_residency_usec for intel platforms
  * Update copyright year to 2025
  * ACPICA: Update to version 20241212
  * acpi/s3 : fix stack smashing crash for s3 test
  * acpitables: update ACPI table revsion test to ACPI 6.5
  * acpi: uniqueid: fix the uniqueid test for the CID with package
  * acpi: acpitables: Correct PCCT revision for ACPI 6.2
  * dmicheck: fix the wrong size check for type 4
  * acpi/wmi: Stop directing users to outdated LWN article

OBS-URL: https://build.opensuse.org/package/show/hardware/fwts?expand=0&rev=176
2025-02-13 10:03:25 +00:00

26 lines
1.1 KiB
Diff

Index: fwts-21.01.00/src/acpica/source/tools/acpiexec/aecommon.h
===================================================================
--- fwts-21.01.00.orig/src/acpica/source/tools/acpiexec/aecommon.h
+++ fwts-21.01.00/src/acpica/source/tools/acpiexec/aecommon.h
@@ -201,11 +201,18 @@ typedef struct init_file_entry
} INIT_FILE_ENTRY;
+#if defined(__x86_64__) || defined(__x86_64) || defined(__i386__) || defined(__i386) || defined(__aarch64__) || defined(__riscv)
+extern BOOLEAN AcpiGbl_IgnoreErrors;
+extern UINT8 AcpiGbl_RegionFillValue;
+#else
+#define VOID_FUNC(name) void name(void);
+extern VOID_FUNC(AcpiGbl_IgnoreErrors)
+extern VOID_FUNC(AcpiGbl_RegionFillValue)
+#endif
+
extern BOOLEAN AcpiGbl_UseLocalFaultHandler;
extern BOOLEAN AcpiGbl_VerboseHandlers;
-extern BOOLEAN AcpiGbl_IgnoreErrors;
extern BOOLEAN AcpiGbl_AbortLoopOnTimeout;
-extern UINT8 AcpiGbl_RegionFillValue;
extern INIT_FILE_ENTRY *AcpiGbl_InitEntries;
extern UINT32 AcpiGbl_InitFileLineCount;
extern UINT8 AcpiGbl_UseHwReducedFadt;