diff mbox series

[1/1] package/adwaita-icon-theme: needs host gcc >= 4.9

Message ID 20211218231855.666502-1-fontaine.fabrice@gmail.com
State Superseded
Headers show
Series [1/1] package/adwaita-icon-theme: needs host gcc >= 4.9 | expand

Commit Message

Fabrice Fontaine Dec. 18, 2021, 11:18 p.m. UTC
host gcc >= 4.9 is needed since bump of harfbuzz to version 3.1.2 in
commit 6861933d22006fbe8c961a41506beac826881f33 to avoid the following
build failure:

In file included from ../src/hb-serialize.hh:36:0,
                 from ../src/hb-machinery.hh:37,
                 from ../src/hb-common.cc:30:
../src/hb-map.hh:67:18: error: 'is_trivially_copyable' is not a member of 'std'
   static_assert (std::is_trivially_copyable<K>::value, "");
                  ^

Fixes:
 - http://autobuild.buildroot.org/results/ef12550581a32c8096f42d05575f0f6ea9411a6c

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/adwaita-icon-theme/Config.in | 5 +++++
 1 file changed, 5 insertions(+)
diff mbox series

Patch

diff --git a/package/adwaita-icon-theme/Config.in b/package/adwaita-icon-theme/Config.in
index d200570e76..4e5a9f9cb9 100644
--- a/package/adwaita-icon-theme/Config.in
+++ b/package/adwaita-icon-theme/Config.in
@@ -1,5 +1,10 @@ 
 config BR2_PACKAGE_ADWAITA_ICON_THEME
 	bool "adwaita icon theme"
+	# host-libgtk3 -> host-librsvg -> host-pango -> host-harfbuzz
+	depends on BR2_HOST_GCC_AT_LEAST_4_9
 	depends on BR2_PACKAGE_LIBGTK2 || BR2_PACKAGE_LIBGTK3
 	help
 	  Adwaita icon theme
+
+comment "adwaita icon theme needs a toolchain w/ host gcc >= 4.9"
+	depends on !BR2_HOST_GCC_AT_LEAST_4_9