!48 fixed compilation errors
From: @guojunding Reviewed-by: @dillon_chen Signed-off-by: @dillon_chen
This commit is contained in:
commit
e4dcd1db6f
25
0001-fix-building-error-caused-by-variable-CurrentSp.patch
Normal file
25
0001-fix-building-error-caused-by-variable-CurrentSp.patch
Normal file
@ -0,0 +1,25 @@
|
||||
From dd222c68bcab456f0230e6cd737969ccd84307fd Mon Sep 17 00:00:00 2001
|
||||
From: guojunding <guojunding@kylinos.cn>
|
||||
Date: Thu, 7 Mar 2024 09:27:56 +0800
|
||||
Subject: [PATCH] fix building error caused by variable 'CurrentSp'
|
||||
|
||||
---
|
||||
source/components/utilities/utdebug.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/source/components/utilities/utdebug.c b/source/components/utilities/utdebug.c
|
||||
index 2f60bca..509815f 100644
|
||||
--- a/source/components/utilities/utdebug.c
|
||||
+++ b/source/components/utilities/utdebug.c
|
||||
@@ -74,7 +74,7 @@ void
|
||||
AcpiUtInitStackPtrTrace (
|
||||
void)
|
||||
{
|
||||
- ACPI_SIZE CurrentSp;
|
||||
+ static ACPI_SIZE CurrentSp;
|
||||
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
--
|
||||
2.27.0
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
Name: acpica-tools
|
||||
Version: 20210604
|
||||
Release: 5
|
||||
Release: 6
|
||||
Summary: Tools for OS-independent reference implementation of ACPI
|
||||
|
||||
License: GPLv2
|
||||
@ -16,6 +16,8 @@ Patch0003: cve-2017-13695.patch
|
||||
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
|
||||
|
||||
BuildRequires: bison patchutils flex gcc
|
||||
Provides: acpixtract >= 20120913-7 iasl = %{version}-%{release} acpidump >= 20100513-5
|
||||
Provides: pmtools = %{version}-%{release}
|
||||
@ -90,6 +92,9 @@ fi
|
||||
%{_docdir}/*
|
||||
|
||||
%changelog
|
||||
* Thu Mar 7 2024 guojunding <guojunding@kylinos.cn> - 20210604-6
|
||||
- fix building error caused by variable 'CurrentSp'
|
||||
|
||||
* Wed Mar 6 2024 guojunding <guojunding@kylinos.cn> - 20210604-5
|
||||
- support clang build
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user