diff --git a/9000-to-support-sw64-mips64el.patch b/9000-to-support-sw64-mips64el.patch new file mode 100644 index 0000000..44f83b4 --- /dev/null +++ b/9000-to-support-sw64-mips64el.patch @@ -0,0 +1,25 @@ +From b57d5419e8eeef15a7b5192f64c89b9989b36d6a Mon Sep 17 00:00:00 2001 +From: kkz +Date: Tue, 7 Jan 2025 15:11:07 +0800 +Subject: [PATCH] to support sw64 mips64el + +--- + source/include/platform/aclinux.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/source/include/platform/aclinux.h b/source/include/platform/aclinux.h +index 20680d0..ec1889e 100644 +--- a/source/include/platform/aclinux.h ++++ b/source/include/platform/aclinux.h +@@ -217,7 +217,7 @@ + + #if defined(__ia64__) || (defined(__x86_64__) && !defined(__ILP32__)) ||\ + defined(__aarch64__) || defined(__PPC64__) ||\ +- defined(__s390x__) ||\ ++ defined(__s390x__) || defined(__sw_64__) || defined(__mips__) || \ + (defined(__riscv) && (defined(__LP64__) || defined(_LP64))) || defined(__loongarch64) + #define ACPI_MACHINE_WIDTH 64 + #define COMPILER_DEPENDENT_INT64 long +-- +2.43.0 + diff --git a/acpica-tools.spec b/acpica-tools.spec index d12655f..76e80ab 100644 --- a/acpica-tools.spec +++ b/acpica-tools.spec @@ -1,6 +1,6 @@ Name: acpica-tools Version: 20210604 -Release: 6 +Release: 7 Summary: Tools for OS-independent reference implementation of ACPI License: GPLv2 @@ -17,6 +17,7 @@ Patch0004: openEuler-harden.patch Patch0005: 0001-add-loongarch64-support-for-acpica-tools.patch Patch0006: 0001-Fix-GCC-12-dangling-pointer-warning.patch Patch0007: 0001-fix-building-error-caused-by-variable-CurrentSp.patch +Patch0008: 9000-to-support-sw64-mips64el.patch BuildRequires: bison patchutils flex gcc Provides: acpixtract >= 20120913-7 iasl = %{version}-%{release} acpidump >= 20100513-5 @@ -92,6 +93,9 @@ fi %{_docdir}/* %changelog +* Thu Feb 27 2025 zhaoshuang - 20210604-7 +- arch: to support sw64 mips64 arch + * Thu Mar 7 2024 guojunding - 20210604-6 - fix building error caused by variable 'CurrentSp'