Skip to contentSkip to conversation

package/botan: needs thread support

PATCH Applied Waldemar Brodkorb 2 participants 2 messages Aug 19, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/botan: needs thread support

Botan commit 313e439c786d68bcf374b2cb0edfe3ffd891db94 added a dependency to pthread.h. Add a dependency to thread support.

Fixes:
- http://autobuild.buildroot.org/results/205/205d7505803990508bbd545393902789063ababd

---
 package/botan/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
package/botan/Config.in +4 -2
index c74128bb9d..c61b368801 100644
@@ -16,6 +16,7 @@ config BR2_PACKAGE_BOTAN
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_10 # C++20
 	depends on BR2_PACKAGE_BOTAN_ARCH_SUPPORTS
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	select BR2_PACKAGE_BOOST_FILESYSTEM if BR2_PACKAGE_BOOST && BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS
 	select BR2_PACKAGE_BOOST_SYSTEM if BR2_PACKAGE_BOOST && BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS
 	help
@@ -23,7 +24,8 @@ config BR2_PACKAGE_BOTAN
 
 	  http://botan.randombit.net
 
-comment "botan needs a toolchain w/ C++, gcc >= 10"
+comment "botan needs a toolchain w/ threads, C++, gcc >= 10"
 	depends on !BR2_INSTALL_LIBSTDCPP \
-		|| !BR2_TOOLCHAIN_GCC_AT_LEAST_10
+		|| !BR2_TOOLCHAIN_GCC_AT_LEAST_10 \
+		|| !BR2_TOOLCHAIN_HAS_THREADS
 	depends on BR2_PACKAGE_BOTAN_ARCH_SUPPORTS
Signature · 6 lines
2.39.2

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 10 lines · On Mon, 19 Aug 2024 11:44:56 +0200 Waldemar Brodkorb <[email protected]> wrote:

Botan commit 313e439c786d68bcf374b2cb0edfe3ffd891db94 added a dependency to pthread.h. Add a dependency to thread support.

Fixes:
- http://autobuild.buildroot.org/results/205/205d7505803990508bbd545393902789063ababd

---
 package/botan/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Applied to master, thanks.

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot