From a537b5f4cf3c9bcb85b8b2bf940049690ea18915 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Mon, 7 Feb 2022 19:53:09 +0100 Subject: libraries/SFGUI: Fix for gcc >= 11.x. Signed-off-by: Matteo Bernardini Signed-off-by: Willy Sudiarto Raharjo --- libraries/SFGUI/SFGUI.SlackBuild | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libraries/SFGUI') diff --git a/libraries/SFGUI/SFGUI.SlackBuild b/libraries/SFGUI/SFGUI.SlackBuild index 9ff6bbb9d5..327a3e856f 100644 --- a/libraries/SFGUI/SFGUI.SlackBuild +++ b/libraries/SFGUI/SFGUI.SlackBuild @@ -66,6 +66,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +sed -i '/#include /a #include ' src/SFGUI/ComboBox.cpp + mkdir -p build cd build cmake \ -- cgit v1.2.3