summaryrefslogtreecommitdiff
path: root/games-engines/openmw/files/openmw-0.48.0-gcc14.patch
diff options
context:
space:
mode:
Diffstat (limited to 'games-engines/openmw/files/openmw-0.48.0-gcc14.patch')
-rw-r--r--games-engines/openmw/files/openmw-0.48.0-gcc14.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/games-engines/openmw/files/openmw-0.48.0-gcc14.patch b/games-engines/openmw/files/openmw-0.48.0-gcc14.patch
new file mode 100644
index 000000000000..b352d0536c8b
--- /dev/null
+++ b/games-engines/openmw/files/openmw-0.48.0-gcc14.patch
@@ -0,0 +1,13 @@
+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>