diff --git a/package/botan/0003-Add-support-for-riscv32.patch b/package/botan/0003-Add-support-for-riscv32.patch new file mode 100644 index 0000000000..d8978b2f11 --- /dev/null +++ b/package/botan/0003-Add-support-for-riscv32.patch @@ -0,0 +1,31 @@ +From 443bf46ee2b1b1d7acd63e3f00dcbe66646138f8 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Fri, 2 Apr 2021 20:37:03 +0200 +Subject: [PATCH] Add support for riscv32 + +Fix the following build failure: + + ERROR: Unknown or unidentifiable processor "riscv32" + +Fixes: + - http://autobuild.buildroot.org/results/1c399312dbec5d7a28ec90d62fdd8f47fa14ff4b + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/randombit/botan/commit/aa7958880bee2091a8a71bf9e1f6e6efb34581e3] +--- + src/build-data/arch/riscv32.txt | 2 ++ + 1 file changed, 2 insertions(+) + create mode 100644 src/build-data/arch/riscv32.txt + +diff --git a/src/build-data/arch/riscv32.txt b/src/build-data/arch/riscv32.txt +new file mode 100644 +index 000000000..ba88b42e9 +--- /dev/null ++++ b/src/build-data/arch/riscv32.txt +@@ -0,0 +1,2 @@ ++family riscv32 ++endian little +-- +2.30.2 +