summaryrefslogtreecommitdiff
path: root/games-engines/openmw/files/openmw-0.48.0-gcc14.patch
blob: d1214339ee2d16faff258bd661a0183d88c786d4 (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
26
27
28
29
30
31
32
33
34
Fix build with gcc 14
https://bugs.gentoo.org/925105

--- a/components/bsa/bsa_file.cpp
+++ b/components/bsa/bsa_file.cpp
@@ -26,6 +26,7 @@
 #include <components/files/constrainedfilestream.hpp>
 
 #include <cassert>
+#include <algorithm>
 
 #include <boost/filesystem/path.hpp>
 #include <boost/filesystem/fstream.hpp>
--- a/apps/openmw/mwstate/charactermanager.hpp
+++ b/apps/openmw/mwstate/charactermanager.hpp
@@ -1,6 +1,8 @@
 #ifndef GAME_STATE_CHARACTERMANAGER_H
 #define GAME_STATE_CHARACTERMANAGER_H

+#include <list>
+
 #include <boost/filesystem/path.hpp>

 #include "character.hpp"
--- a/apps/openmw_test_suite/nifloader/testbulletnifloader.cpp
+++ b/apps/openmw_test_suite/nifloader/testbulletnifloader.cpp
@@ -13,6 +13,7 @@
 
 #include <algorithm>
 #include <type_traits>
+#include <iomanip>
 
 namespace
 {