commit:     32373aba633556a1bec4314e2309089a587ded43
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 25 13:40:16 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Jan 25 13:40:16 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32373aba

games-emulation/ppsspp: tweak for gcc-10

Package-Manager: Portage-2.3.85, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 games-emulation/ppsspp/files/ppsspp-1.5.4-stdint-gcc-10.patch | 10 ++++++++++
 games-emulation/ppsspp/ppsspp-1.5.4-r2.ebuild                 |  3 ++-
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/games-emulation/ppsspp/files/ppsspp-1.5.4-stdint-gcc-10.patch 
b/games-emulation/ppsspp/files/ppsspp-1.5.4-stdint-gcc-10.patch
new file mode 100644
index 00000000000..0a7c45a810b
--- /dev/null
+++ b/games-emulation/ppsspp/files/ppsspp-1.5.4-stdint-gcc-10.patch
@@ -0,0 +1,10 @@
+--- a/Common/Hashmaps.h
++++ b/Common/Hashmaps.h
+@@ -2,6 +2,7 @@
+ 
+ #include <cstring>
+ #include <vector>
++#include <stdint.h> /* uint32_t */
+ 
+ #include "ext/xxhash.h"
+ #include "Common/CommonFuncs.h"

diff --git a/games-emulation/ppsspp/ppsspp-1.5.4-r2.ebuild 
b/games-emulation/ppsspp/ppsspp-1.5.4-r2.ebuild
index 4e7f8f7f027..8de0ecaf747 100644
--- a/games-emulation/ppsspp/ppsspp-1.5.4-r2.ebuild
+++ b/games-emulation/ppsspp/ppsspp-1.5.4-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -50,6 +50,7 @@ PATCHES=(
        "${FILESDIR}"/${PN}-1.4.2-assets-lookup.patch
        "${FILESDIR}"/${PN}-1.4-O2.patch
        "${FILESDIR}"/${P}-ffmpeg-4.patch
+       "${FILESDIR}"/${P}-stdint-gcc-10.patch
 )
 
 src_unpack() {

Reply via email to