fwts/fwts-fix-non-acpi.patch
Martin Pluskal 8bd2b75769 - Update to version 24.11.00:
* lib: fwts_version.h - update to V24.11.00
  * debian: update changelog
  * hdaaudio: fix the the build errors under plucky amd64
  * auto-packager: mkpackage.sh: add plucky
  * dmicheck: add more types for version length test.
  * dmicheck: update for supporting DMI version to 3.8.0
  * acpi: iort: memory access flag update.
  * src/acpi: Fix a few spelling mistakes
  * acpi/wmi: Warn if WMI GUIDs from the Windows driver samples are found
  * lib: fwts_acpi_object_eval: Do not return FWTS_OK if method lookup fails
  * script: fix bash-completion-with-hashbang lintian warning
  * dmicheck: update for supporting DMI version to 3.7.1
  * tpmevlog: Ensure the event log matches the actual TPM PCRs

OBS-URL: https://build.opensuse.org/package/show/hardware/fwts?expand=0&rev=174
2024-11-26 11:05:24 +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;