mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
games-engines/openmw: fix build with gcc 14
Closes: https://bugs.gentoo.org/925105 Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org> Closes: https://github.com/gentoo/gentoo/pull/35490 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
This commit is contained in:
committed by
James Le Cuirot
parent
5e0fe712fe
commit
546afd11b7
13
games-engines/openmw/files/openmw-0.48.0-gcc14.patch
Normal file
13
games-engines/openmw/files/openmw-0.48.0-gcc14.patch
Normal file
@@ -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>
|
||||
@@ -73,6 +73,10 @@ BDEPEND="
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/openmw-0.48.0-gcc14.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
|
||||
|
||||
Reference in New Issue
Block a user