add sw_64 support
Signed-off-by: liweigang <liweiganga@uniontech.com>
This commit is contained in:
parent
cfa3d2a3f5
commit
4053049b20
37
0001-botan2-uos-add-sw64-support.patch
Normal file
37
0001-botan2-uos-add-sw64-support.patch
Normal file
@ -0,0 +1,37 @@
|
||||
From 189b83c5017a6eff44f0f49e503cf2bd2965e582 Mon Sep 17 00:00:00 2001
|
||||
From: root <root@localhost.localdomain>
|
||||
Date: Mon, 11 Nov 2024 11:36:50 +0800
|
||||
Subject: [PATCH] add sw64 support
|
||||
|
||||
---
|
||||
src/build-data/arch/sw_64.txt | 3 +++
|
||||
src/build-data/detect_arch.cpp | 3 +++
|
||||
2 files changed, 6 insertions(+)
|
||||
create mode 100644 src/build-data/arch/sw_64.txt
|
||||
|
||||
diff --git a/src/build-data/arch/sw_64.txt b/src/build-data/arch/sw_64.txt
|
||||
new file mode 100644
|
||||
index 0000000..af225c5
|
||||
--- /dev/null
|
||||
+++ b/src/build-data/arch/sw_64.txt
|
||||
@@ -0,0 +1,3 @@
|
||||
+family sw_64
|
||||
+endian little
|
||||
+wordsize 64
|
||||
diff --git a/src/build-data/detect_arch.cpp b/src/build-data/detect_arch.cpp
|
||||
index 3a4bf8e..c49d3b1 100644
|
||||
--- a/src/build-data/detect_arch.cpp
|
||||
+++ b/src/build-data/detect_arch.cpp
|
||||
@@ -44,6 +44,9 @@
|
||||
#elif defined(__alpha__)
|
||||
ALPHA
|
||||
|
||||
+#elif defined(__sw_64__)
|
||||
+ SW_64
|
||||
+
|
||||
#elif defined(__hppa__) || defined(__hppa)
|
||||
HPPA
|
||||
|
||||
--
|
||||
2.33.0
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
Name: botan2
|
||||
Version: 2.19.3
|
||||
Release: 4
|
||||
Release: 5
|
||||
Summary: Crypto and TLS for C++11
|
||||
|
||||
License: BSD
|
||||
@ -12,6 +12,7 @@ Source0: %{url}/releases/Botan-%{version}.tar.xz
|
||||
Patch01: Backport-CVE-2024-34703-When-decoding-an-arbi.patch
|
||||
Patch02: backport-CVE-2024-39312.patch
|
||||
Patch03: backport-CVE-2024-50382.patch
|
||||
Patch04: 0001-botan2-uos-add-sw64-support.patch
|
||||
|
||||
BuildRequires: gcc-c++ python3 python3-devel python3-sphinx python-docutils
|
||||
BuildRequires: bzip2-devel zlib-devel make
|
||||
@ -128,6 +129,9 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} ./botan-test
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Feb 17 2025 liweigang <liweiganga@uniontech.com> - 2.19.3-5
|
||||
- add sw_64 support
|
||||
|
||||
* Fri Oct 25 2024 liningjie <liningjie@xfusion.com> - 2.19.3-4
|
||||
- Fix CVE-2024-50382
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user