Compare commits

..

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
77db5a730a
!45 support clang build
From: @guojunding 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
2024-03-06 09:53:27 +00:00
guojunding
5092df95d5 support clang build 2024-03-06 14:58:52 +08:00
openeuler-ci-bot
1deaa18986
!42 fix invalid date
From: @guojunding 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
2024-03-06 06:16:09 +00:00
guojunding
93154e0bfe fix invalid date 2024-03-05 16:26:25 +08:00
openeuler-ci-bot
bcbf7bd3a6
!33 [sync] PR-32: add support for loongarch64
From: @openeuler-sync-bot 
Reviewed-by: @overweight 
Signed-off-by: @overweight
2023-09-27 01:39:44 +00:00
panchenbo
43c15fc76e add support for loongarch64
(cherry picked from commit 353897a1557667d64ef6113dd464344314eec079)
2023-09-11 17:02:19 +08:00
openeuler-ci-bot
633c51a51a
!25 [sync] PR-24: 【轻量级PR】:补丁名称规范修改
From: @openeuler-sync-bot 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
2023-06-16 03:06:09 +00:00
Weifeng Su
9a90e7b18c rename patches
Signed-off-by: Weifeng Su <suweifeng1@huawei.com>
(cherry picked from commit 338252cacf17d7b988a80698cce2f3c362da6316)
2022-11-28 17:08:27 +08:00
openeuler-ci-bot
1663054351
!22 修复spec文件中的Source0无法下载问题
From: @fary86 
Reviewed-by: @liqingqing_1229, @wangbin224 
Signed-off-by: @wangbin224
2022-11-22 01:46:40 +00:00
fanrui
8c69bc6394 Fix SOURCE0 in spec file can not be downloaded 2022-11-22 09:31:41 +08:00
8 changed files with 54 additions and 8 deletions

View File

@ -0,0 +1,26 @@
From ec1ffd36dc26b64284e888d0a8484cde599ca7c3 Mon Sep 17 00:00:00 2001
From: yangchenguang <yangchenguang@kylinsec.com.cn>
Date: Tue, 9 May 2023 14:03:28 +0800
Subject: [PATCH] Add loongarch64 support
Signed-off-by: yangchenguang <yangchenguang@kylinsec.com.cn>
---
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 58e073b..042a047 100644
--- a/source/include/platform/aclinux.h
+++ b/source/include/platform/aclinux.h
@@ -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(__sw_64__) || defined(__PPC64__) ||\
+ defined(__aarch64__) || defined(__sw_64__) || defined(__loongarch__) || defined(__PPC64__) ||\
defined(__s390x__) ||\
(defined(__riscv) && (defined(__LP64__) || defined(_LP64)))
#define ACPI_MACHINE_WIDTH 64
--
2.33.0

View File

@ -1,20 +1,21 @@
Name: acpica-tools Name: acpica-tools
Version: 20210604 Version: 20210604
Release: 2 Release: 7
Summary: Tools for OS-independent reference implementation of ACPI Summary: Tools for OS-independent reference implementation of ACPI
License: GPLv2 License: GPLv2
URL: https://www.acpica.org/ URL: https://www.acpica.org/
Source0: https://acpica.org/sites/acpica/files/acpica-unix2-%{version}.tar.gz Source0: https://acpica.org/sites/acpica/files/acpica-unix2-%{version}.tar_0.gz
Source1: https://acpica.org/sites/acpica/files/acpitests-unix-%{version}.tar.gz Source1: https://acpica.org/sites/acpica/files/acpitests-unix-%{version}.tar.gz
Source2: COPYING Source2: COPYING
Patch0001: cve-2017-13693.patch Patch0001: 0001-cve-2017-13693.patch
Patch0002: cve-2017-13694.patch Patch0002: 0002-cve-2017-13694.patch
Patch0003: cve-2017-13695.patch Patch0003: 0003-cve-2017-13695.patch
Patch0004: openEuler-harden.patch Patch0004: 0004-enable-harden.patch
Patch0005: acpica-unix2-20210604-sw.patch Patch0005: 0005-acpica-unix2-20210604-sw.patch
Patch0006: 0006-Add-loongarch64-support.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
@ -55,6 +56,10 @@ CWARNINGFLAGS="\
export OPT_CFLAGS="%{optflags} $CWARNINGFLAGS" export OPT_CFLAGS="%{optflags} $CWARNINGFLAGS"
export OPT_LDFLAGS="%{__global_ldflags}" export OPT_LDFLAGS="%{__global_ldflags}"
%if "%{?toolchain}" == "clang"
CFLAGS="${CFLAGS:-%{?build_cflags}}"; export CFLAGS;
%endif
%make_build %make_build
%install %install
@ -86,10 +91,25 @@ fi
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Wed Mar 6 2024 guojunding <guojunding@kylinos.cn> - 20210604-7
- support clang build
* Tue Mar 5 2024 guojunding <guojunding@kylinos.cn> - 20210604-6
- fix invalid dates
* Mon Aug 25 2023 panchenbo <panchenbo@kylinsec.com.cn> - 20210604-5
- add support for loongarch64
* Mon Nov 28 2022 Weifeng Su <suweifeng1@huawei.com> 20210604-4
- rename patches
* Mon Nov 21 2022 fanrui <fary.fanrui@huawei.com> - 20210604-3
- Fix SOURCE0 in spec file can not be downloaded
* Wed Jul 20 2022 wuzx<wuzx1226@qq.com> - 20210604-2 * Wed Jul 20 2022 wuzx<wuzx1226@qq.com> - 20210604-2
- add sw64 patch - add sw64 patch
* Wed Dec 30 2021 zhouwenpei <zhouwenpei1@huawei.com> - 20210604-1 * Thu Dec 30 2021 zhouwenpei <zhouwenpei1@huawei.com> - 20210604-1
- Upgrade to version 20210604 - Upgrade to version 20210604
* Sat Jan 30 2021 xinghe <xinghe1@huawei.com> - 20210105-1 * Sat Jan 30 2021 xinghe <xinghe1@huawei.com> - 20210105-1