From c1911b70f86e3f764570bd5bd32b5c6363d540d1 Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Thu, 6 May 2021 09:41:00 +0000 Subject: games-engines/openmw: fix build with gcc 11 Signed-off-by: Alexey Sokolov Signed-off-by: Joonas Niilola --- .../openmw/files/openmw-0.46.0-gcc11.patch | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 games-engines/openmw/files/openmw-0.46.0-gcc11.patch (limited to 'games-engines/openmw/files/openmw-0.46.0-gcc11.patch') diff --git a/games-engines/openmw/files/openmw-0.46.0-gcc11.patch b/games-engines/openmw/files/openmw-0.46.0-gcc11.patch new file mode 100644 index 000000000000..0dc3106fb3bf --- /dev/null +++ b/games-engines/openmw/files/openmw-0.46.0-gcc11.patch @@ -0,0 +1,36 @@ +diff --git a/components/sceneutil/mwshadowtechnique.cpp b/components/sceneutil/mwshadowtechnique.cpp +index cb3a1b2..62cfeec 100644 +--- a/components/sceneutil/mwshadowtechnique.cpp ++++ b/components/sceneutil/mwshadowtechnique.cpp +@@ -24,6 +24,7 @@ + #include + + #include ++#include + + namespace { + +diff --git a/components/sceneutil/shadow.cpp b/components/sceneutil/shadow.cpp +index 035c19a..aba1b81 100644 +--- a/components/sceneutil/shadow.cpp ++++ b/components/sceneutil/shadow.cpp +@@ -4,6 +4,7 @@ + + #include + #include ++#include + + namespace SceneUtil + { +diff --git a/components/terrain/quadtreeworld.cpp b/components/terrain/quadtreeworld.cpp +index f998b78..e0e47dd 100644 +--- a/components/terrain/quadtreeworld.cpp ++++ b/components/terrain/quadtreeworld.cpp +@@ -3,6 +3,7 @@ + #include + + #include ++#include + + #include + #include -- cgit v1.2.3-65-gdbad