slackbuilds_ponce/games/fifengine/8072f18a9bf4e75c3e1b197b6ccda11e82954460.patch
Willy Sudiarto Raharjo 68976e2a49
games/fifengine: Updated for version 0.4.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2022-03-07 08:38:01 +07:00

25 lines
763 B
Diff

From 8072f18a9bf4e75c3e1b197b6ccda11e82954460 Mon Sep 17 00:00:00 2001
From: Lars Wendler <polynomial-c@gentoo.org>
Date: Tue, 31 Aug 2021 17:45:12 +0200
Subject: [PATCH] Fix build against boost-1.77.0
boost-1.77.0 no longer includes <algorithm>
Closes: #1080
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
---
engine/core/vfs/zip/zipnode.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/engine/core/vfs/zip/zipnode.cpp b/engine/core/vfs/zip/zipnode.cpp
index a1b14abbd..e1613e7f4 100644
--- a/engine/core/vfs/zip/zipnode.cpp
+++ b/engine/core/vfs/zip/zipnode.cpp
@@ -28,6 +28,7 @@
#include "vfs/fife_boost_filesystem.h"
#include "zipnode.h"
+#include <algorithm>
namespace {
/** helper function to find a value in a ZipNodeContainer