diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2022-02-07 19:53:09 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-09 09:35:17 +0700 |
commit | a537b5f4cf3c9bcb85b8b2bf940049690ea18915 (patch) | |
tree | f850451c2559de5d327688e89f83c31ebe76c116 /libraries/SFGUI | |
parent | 97a02c61dc6a1a8f6c2941bef89796d084d818cd (diff) |
libraries/SFGUI: Fix for gcc >= 11.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/SFGUI')
-rw-r--r-- | libraries/SFGUI/SFGUI.SlackBuild | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libraries/SFGUI/SFGUI.SlackBuild b/libraries/SFGUI/SFGUI.SlackBuild index 9ff6bbb9d5c9d..327a3e856fc9c 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 <SFML\/Window\/Event.hpp>/a #include <limits>' src/SFGUI/ComboBox.cpp + mkdir -p build cd build cmake \ |