From b9f874b690b4245aba7cfb7759f40d3936d8ac96 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sat, 17 Sep 2022 18:16:50 +0200 Subject: [PATCH] package/botan: fix build with sh4{a, eb, aeb} Fix the following build failure with sh4{a,eb,aeb} probably raised since the addition of the package in commit e43da7bb32285bbd41b38a379aef77132d149df7: ERROR: Unknown or unidentifiable processor "sh4a" Fixes: - http://autobuild.buildroot.org/results/fb6885a8a299f20ed77e4c10b330d2a2a7853931 Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni (cherry picked from commit dbff193c74bfda9cee96e3f6975f7430dd5acbd4) Signed-off-by: Peter Korsgaard --- ...01-Add-superh-alias-needed-by-Debian.patch | 22 ++++++++++++++ ...-data-arch-superh.txt-add-sh4-eb-aeb.patch | 30 +++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 package/botan/0001-Add-superh-alias-needed-by-Debian.patch create mode 100644 package/botan/0002-src-build-data-arch-superh.txt-add-sh4-eb-aeb.patch diff --git a/package/botan/0001-Add-superh-alias-needed-by-Debian.patch b/package/botan/0001-Add-superh-alias-needed-by-Debian.patch new file mode 100644 index 0000000000..c6236849e9 --- /dev/null +++ b/package/botan/0001-Add-superh-alias-needed-by-Debian.patch @@ -0,0 +1,22 @@ +From 454c7c04385a47d511cf8999ccff2746afbab06b Mon Sep 17 00:00:00 2001 +From: Jack Lloyd +Date: Sat, 21 Nov 2020 12:37:06 -0500 +Subject: [PATCH] Add superh alias needed by Debian + +[Retrieved from: +https://github.com/randombit/botan/commit/454c7c04385a47d511cf8999ccff2746afbab06b] +Signed-off-by: Fabrice Fontaine +--- + src/build-data/arch/superh.txt | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/build-data/arch/superh.txt b/src/build-data/arch/superh.txt +index 6af6dbe682..8e2833a914 100644 +--- a/src/build-data/arch/superh.txt ++++ b/src/build-data/arch/superh.txt +@@ -1,4 +1,5 @@ + + + sh4 ++sh4a + diff --git a/package/botan/0002-src-build-data-arch-superh.txt-add-sh4-eb-aeb.patch b/package/botan/0002-src-build-data-arch-superh.txt-add-sh4-eb-aeb.patch new file mode 100644 index 0000000000..aa9f3ad5ba --- /dev/null +++ b/package/botan/0002-src-build-data-arch-superh.txt-add-sh4-eb-aeb.patch @@ -0,0 +1,30 @@ +From c88897ebaf173b97068811b520a4741039f09dcd Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sat, 20 Aug 2022 15:16:22 +0200 +Subject: [PATCH] src/build-data/arch/superh.txt: add sh4{eb,aeb} + +Fix the following build failure with sh4{eb,aeb}: + + ERROR: Unknown or unidentifiable processor "sh4aeb" + +Fixes: + - http://autobuild.buildroot.org/results/d7750b734736a66e10bc5a8ee06708041b36443a + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/randombit/botan/commit/c88897ebaf173b97068811b520a4741039f09dcd] +--- + src/build-data/arch/superh.txt | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/build-data/arch/superh.txt b/src/build-data/arch/superh.txt +index 8e2833a914..e17edb097a 100644 +--- a/src/build-data/arch/superh.txt ++++ b/src/build-data/arch/superh.txt +@@ -2,4 +2,6 @@ + + sh4 + sh4a ++sh4eb ++sh4aeb +