kumquat-buildroot/package/supertux/0002-Fix-build-with-boost-1-73.patch

26 lines
767 B
Diff
Raw Normal View History

From 4221d54385b69d6c40eff2c67bc6bad7ed165a44 Mon Sep 17 00:00:00 2001
From: Lars Wendler <polynomial-c@gentoo.org>
Date: Sat, 9 May 2020 03:04:02 +0200
Subject: [PATCH] Fix build with boost-1.73
[Retrieved from:
https://github.com/SuperTux/supertux/commit/4221d54385b69d6c40eff2c67bc6bad7ed165a44]
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
src/editor/object_settings.hpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/editor/object_settings.hpp b/src/editor/object_settings.hpp
index bc9049a94e..15b77b1e46 100644
--- a/src/editor/object_settings.hpp
+++ b/src/editor/object_settings.hpp
@@ -22,6 +22,8 @@
#include "editor/object_option.hpp"
+#include <algorithm>
+
class Color;
enum class Direction;
enum class WalkMode;