games-emulation/ppsspp: tweak for gcc-10
authorSergei Trofimovich <slyfox@gentoo.org>
Sat, 25 Jan 2020 13:40:16 +0000 (13:40 +0000)
committerSergei Trofimovich <slyfox@gentoo.org>
Sat, 25 Jan 2020 13:40:16 +0000 (13:40 +0000)
Package-Manager: Portage-2.3.85, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
games-emulation/ppsspp/files/ppsspp-1.5.4-stdint-gcc-10.patch [new file with mode: 0644]
games-emulation/ppsspp/ppsspp-1.5.4-r2.ebuild

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 (file)
index 0000000..0a7c45a
--- /dev/null
@@ -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"
index 4e7f8f7f0271946537618e89fb55a8b901a1b9fd..8de0ecaf7478f738687b00cada45cad949a53b07 100644 (file)
@@ -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() {