Add support for riscv64
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
f3877e62a7
commit
f952b17ccc
7
Botan-1.10.17-add-riscv64.patch
Normal file
7
Botan-1.10.17-add-riscv64.patch
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
diff --git a/src/build-data/arch/riscv64.txt b/src/build-data/arch/riscv64.txt
|
||||||
|
new file mode 100644
|
||||||
|
index 0000000..6e5e0ff
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/src/build-data/arch/riscv64.txt
|
||||||
|
@@ -0,0 +1 @@
|
||||||
|
+endian little
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: botan
|
Name: botan
|
||||||
Version: %{major_version}.17
|
Version: %{major_version}.17
|
||||||
Release: 35%{?dist}
|
Release: 35.0.riscv64%{?dist}
|
||||||
Summary: Crypto library written in C++
|
Summary: Crypto library written in C++
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -21,6 +21,8 @@ Patch2: botan-1.10.13-python-init.patch
|
|||||||
Patch3: botan-1.10.17-doc-conf-2to3.patch
|
Patch3: botan-1.10.17-doc-conf-2to3.patch
|
||||||
# Fix FTBFS
|
# Fix FTBFS
|
||||||
Patch4: botan-1.10.17-u64bit.patch
|
Patch4: botan-1.10.17-u64bit.patch
|
||||||
|
# Add RISC-V (riscv64)
|
||||||
|
Patch9: Botan-1.10.17-add-riscv64.patch
|
||||||
|
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: python3
|
BuildRequires: python3
|
||||||
@ -195,6 +197,9 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} ./check --validate
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Mar 20 2023 David Abdurachmanov <davidlt@rivosinc.com> - 1.10.17-35.0.riscv64
|
||||||
|
- Add support for riscv64
|
||||||
|
|
||||||
* Sun Jan 22 2023 Thomas Moschny <thomas.moschny@gmx.de> - 1.10.17-35
|
* Sun Jan 22 2023 Thomas Moschny <thomas.moschny@gmx.de> - 1.10.17-35
|
||||||
- Add patch to fix FTBFS.
|
- Add patch to fix FTBFS.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user