diff --git a/games-strategy/0ad/0ad-0.0.23b_alpha.ebuild b/games-strategy/0ad/0ad-0.0.23b_alpha.ebuild index 632db8344465a..b059293c8f039 100644 --- a/games-strategy/0ad/0ad-0.0.23b_alpha.ebuild +++ b/games-strategy/0ad/0ad-0.0.23b_alpha.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -57,6 +57,7 @@ pkg_setup() { PATCHES=( "${FILESDIR}"/${PN}-0.0.21_alpha-gentoo.patch + "${FILESDIR}"/${PN}-0.0.23b-header_includes_fix.patch ) src_configure() { diff --git a/games-strategy/0ad/files/0ad-0.0.23b-header_includes_fix.patch b/games-strategy/0ad/files/0ad-0.0.23b-header_includes_fix.patch new file mode 100644 index 0000000000000..60bf9d1679bed --- /dev/null +++ b/games-strategy/0ad/files/0ad-0.0.23b-header_includes_fix.patch @@ -0,0 +1,20 @@ +--- 0ad-0.0.23b-alpha/source/ps/CLogger.h ++++ 0ad-0.0.23b-alpha/source/ps/CLogger.h +@@ -22,6 +22,7 @@ + #include + #include + #include ++#include + + #include "ps/ThreadUtil.h" + #include "third_party/cppformat/format.h" +--- 0ad-0.0.23b-alpha/source/ps/Profiler2GPU.cpp ++++ 0ad-0.0.23b-alpha/source/ps/Profiler2GPU.cpp +@@ -22,6 +22,7 @@ + + #include "precompiled.h" + ++#include + #include "Profiler2GPU.h" + + #include "lib/ogl.h"