gentoo/games-strategy/colobot/files/colobot-0.2.1_alpha-gcc14.patch
Michał Górny db53498a2c
games-strategy/colobot: Fix building with gcc-14
Closes: https://bugs.gentoo.org/922895
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2024-06-07 20:26:14 +02:00

13 lines
333 B
Diff

diff --git a/src/level/scoreboard.cpp b/src/level/scoreboard.cpp
index 87c4451..abc44fe 100644
--- a/src/level/scoreboard.cpp
+++ b/src/level/scoreboard.cpp
@@ -31,6 +31,7 @@
#include "ui/displaytext.h"
#include <boost/lexical_cast.hpp>
+#include <algorithm>
void CScoreboard::CScoreboardRule::Read(CLevelParserLine* line)
{