summaryrefslogtreecommitdiffstats
path: root/games/fifengine/8072f18a9bf4e75c3e1b197b6ccda11e82954460.patch
blob: 375fa6c73c67dd225b3dda54b9e1a247c0375c19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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