This commit is contained in:
wzx 2022-07-27 17:21:54 +08:00
parent 9de2d91e23
commit 8fb077111e
2 changed files with 16 additions and 0 deletions

View File

@ -14,6 +14,7 @@ Patch0001: cve-2017-13693.patch
Patch0002: cve-2017-13694.patch Patch0002: cve-2017-13694.patch
Patch0003: cve-2017-13695.patch Patch0003: cve-2017-13695.patch
Patch0004: openEuler-harden.patch Patch0004: openEuler-harden.patch
Patch0005: acpica-unix2-20210604-sw.patch
BuildRequires: bison patchutils flex gcc BuildRequires: bison patchutils flex gcc
Provides: acpixtract >= 20120913-7 iasl = %{version}-%{release} acpidump >= 20100513-5 Provides: acpixtract >= 20120913-7 iasl = %{version}-%{release} acpidump >= 20100513-5
@ -85,6 +86,9 @@ fi
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Wed Jul 20 2022 wuzx<wuzx1226@qq.com> - 20210604-1
- add sw64 patch
* Wed Dec 30 2021 zhouwenpei <zhouwenpei1@huawei.com> - 20210604-1 * Wed Dec 30 2021 zhouwenpei <zhouwenpei1@huawei.com> - 20210604-1
- Upgrade to version 20210604 - Upgrade to version 20210604

12
acpica-unix2-20210604-sw.patch Executable file
View File

@ -0,0 +1,12 @@
diff -Naur acpica-unix2-20210604.org/source/include/platform/aclinux.h acpica-unix2-20210604.sw/source/include/platform/aclinux.h
--- acpica-unix2-20210604.org/source/include/platform/aclinux.h 2022-03-14 07:35:19.998814120 +0000
+++ acpica-unix2-20210604.sw/source/include/platform/aclinux.h 2022-03-14 07:56:03.958814120 +0000
@@ -215,7 +215,7 @@
#define ACPI_CAST_PTHREAD_T(Pthread) ((ACPI_THREAD_ID) (Pthread))
#if defined(__ia64__) || (defined(__x86_64__) && !defined(__ILP32__)) ||\
- defined(__aarch64__) || defined(__PPC64__) ||\
+ defined(__aarch64__) || defined(__sw_64__) || defined(__PPC64__) ||\
defined(__s390x__) ||\
(defined(__riscv) && (defined(__LP64__) || defined(_LP64)))
#define ACPI_MACHINE_WIDTH 64