diff options
author | Sam James <sam@gentoo.org> | 2023-04-19 04:20:02 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-04-19 04:20:02 +0100 |
commit | b17bb391e163ea65d1ba219c6981b46518ec77b7 (patch) | |
tree | 7645037b9a12f2d9d5ab8c09f71580267e803177 /games-emulation | |
parent | games-emulation/openmsx: fix build w/ gcc 13 (diff) | |
download | gentoo-b17bb391e163ea65d1ba219c6981b46518ec77b7.tar.gz gentoo-b17bb391e163ea65d1ba219c6981b46518ec77b7.tar.bz2 gentoo-b17bb391e163ea65d1ba219c6981b46518ec77b7.zip |
games-emulation/ppsspp: fix build w/ gcc 13
Closes: https://bugs.gentoo.org/898910
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-emulation')
-rw-r--r-- | games-emulation/ppsspp/files/ppsspp-1.14.4-gcc13.patch | 58 | ||||
-rw-r--r-- | games-emulation/ppsspp/ppsspp-1.14.4-r2.ebuild | 1 |
2 files changed, 59 insertions, 0 deletions
diff --git a/games-emulation/ppsspp/files/ppsspp-1.14.4-gcc13.patch b/games-emulation/ppsspp/files/ppsspp-1.14.4-gcc13.patch new file mode 100644 index 000000000000..c4888f0efb6f --- /dev/null +++ b/games-emulation/ppsspp/files/ppsspp-1.14.4-gcc13.patch @@ -0,0 +1,58 @@ +https://bugs.gentoo.org/898910 +https://github.com/hrydgard/ppsspp/commit/9874737087e8d24ea72b3f08b4975031b54a80a5 + +From 822592c6b1441f7110e1cb15dcc5cd2ea1de8099 Mon Sep 17 00:00:00 2001 +From: Andreas Stieger <Andreas.Stieger@gmx.de> +Date: Wed, 5 Apr 2023 00:20:14 +0200 +Subject: [PATCH] Fix build with GCC13: various standard includes + +--- a/Common/Data/Format/IniFile.h ++++ b/Common/Data/Format/IniFile.h +@@ -8,6 +8,7 @@ + #include <map> + #include <string> + #include <vector> ++#include <cstdint> + + #include "Common/File/Path.h" + +--- a/Common/GPU/OpenGL/GLFeatures.h ++++ b/Common/GPU/OpenGL/GLFeatures.h +@@ -5,6 +5,7 @@ + #pragma once + + #include <string> ++#include <cstdint> + + // TODO: Replace with thin3d's vendor enum. + enum { +--- a/Common/Net/NetBuffer.h ++++ b/Common/Net/NetBuffer.h +@@ -1,5 +1,7 @@ + #pragma once + ++#include <cstdint> ++ + #include "Common/Buffer.h" + + namespace net { +--- a/Core/Reporting.h ++++ b/Core/Reporting.h +@@ -19,6 +19,7 @@ + + #include <string> + #include <vector> ++#include <cstdint> + + #include "Common/CommonTypes.h" + #include "Common/File/Path.h" +--- a/ext/vma/vk_mem_alloc.h ++++ b/ext/vma/vk_mem_alloc.h +@@ -2624,6 +2624,7 @@ VMA_CALL_PRE void VMA_CALL_POST vmaFreeStatsString( + #include <cstring> + #include <utility> + #include <type_traits> ++#include <cstdio> + + #ifdef _MSC_VER + #include <intrin.h> // For functions like __popcnt, _BitScanForward etc. diff --git a/games-emulation/ppsspp/ppsspp-1.14.4-r2.ebuild b/games-emulation/ppsspp/ppsspp-1.14.4-r2.ebuild index 653f672374ea..c908641d14a1 100644 --- a/games-emulation/ppsspp/ppsspp-1.14.4-r2.ebuild +++ b/games-emulation/ppsspp/ppsspp-1.14.4-r2.ebuild @@ -43,6 +43,7 @@ BDEPEND="${PYTHON_DEPS}" PATCHES=( "${FILESDIR}"/${PN}-CMakeLists-flags.patch "${FILESDIR}"/${PN}-disable-ccache-autodetection.patch + "${FILESDIR}"/${P}-gcc13.patch ) pkg_setup() { |