games-strategy/0ad: Added missing header includes

Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
This commit is contained in:
Lars Wendler
2019-12-12 17:16:01 +01:00
parent ae26101d26
commit 2f7dd08d95
2 changed files with 22 additions and 1 deletions

View File

@@ -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() {

View File

@@ -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 <string>
#include <set>
#include <sstream>
+#include <deque>
#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 <stack>
#include "Profiler2GPU.h"
#include "lib/ogl.h"