summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2024-07-02 11:52:24 -0400
committerIonen Wolkens <ionen@gentoo.org>2024-07-02 11:52:30 -0400
commita977584dd98fc70320153189c12fdeb8e33ed432 (patch)
tree9522afcc5eadd31f90124604433ab7784e8b55a2 /games-emulation
parentdev-qt/qt-creator: update live (diff)
downloadgentoo-a977584dd98fc70320153189c12fdeb8e33ed432.tar.gz
gentoo-a977584dd98fc70320153189c12fdeb8e33ed432.tar.bz2
gentoo-a977584dd98fc70320153189c12fdeb8e33ed432.zip
games-emulation/pcsx2: further fix build with musl
Due to a missing header, likely only fails with some specific combination of clang+libstdc+musl or so. Closes: https://bugs.gentoo.org/935352 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/pcsx2/files/pcsx2-1.7.5835-musl-header.patch9
-rw-r--r--games-emulation/pcsx2/pcsx2-1.7.5835.ebuild1
-rw-r--r--games-emulation/pcsx2/pcsx2-1.7.5913.ebuild1
-rw-r--r--games-emulation/pcsx2/pcsx2-9999.ebuild1
4 files changed, 12 insertions, 0 deletions
diff --git a/games-emulation/pcsx2/files/pcsx2-1.7.5835-musl-header.patch b/games-emulation/pcsx2/files/pcsx2-1.7.5835-musl-header.patch
new file mode 100644
index 000000000000..f945bae30bbd
--- /dev/null
+++ b/games-emulation/pcsx2/files/pcsx2-1.7.5835-musl-header.patch
@@ -0,0 +1,9 @@
+https://bugs.gentoo.org/935352
+--- a/pcsx2/SPU2/defs.h
++++ b/pcsx2/SPU2/defs.h
+@@ -8,4 +8,5 @@
+ #include <algorithm>
+ #include <array>
++#include <cstdio>
+
+ // --------------------------------------------------------------------------------------
diff --git a/games-emulation/pcsx2/pcsx2-1.7.5835.ebuild b/games-emulation/pcsx2/pcsx2-1.7.5835.ebuild
index ece5dfc93cc5..50a1ae3cb150 100644
--- a/games-emulation/pcsx2/pcsx2-1.7.5835.ebuild
+++ b/games-emulation/pcsx2/pcsx2-1.7.5835.ebuild
@@ -79,6 +79,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-1.7.4667-flags.patch
"${FILESDIR}"/${PN}-1.7.5232-cubeb-automagic.patch
"${FILESDIR}"/${PN}-1.7.5835-vanilla-shaderc.patch
+ "${FILESDIR}"/${PN}-1.7.5835-musl-header.patch
)
src_prepare() {
diff --git a/games-emulation/pcsx2/pcsx2-1.7.5913.ebuild b/games-emulation/pcsx2/pcsx2-1.7.5913.ebuild
index deabb28cc4af..ed8749726f75 100644
--- a/games-emulation/pcsx2/pcsx2-1.7.5913.ebuild
+++ b/games-emulation/pcsx2/pcsx2-1.7.5913.ebuild
@@ -81,6 +81,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-1.7.5232-cubeb-automagic.patch
"${FILESDIR}"/${PN}-1.7.5835-vanilla-shaderc.patch
"${FILESDIR}"/${PN}-1.7.5855-no-libbacktrace.patch
+ "${FILESDIR}"/${PN}-1.7.5835-musl-header.patch
"${FILESDIR}"/${PN}-1.7.5913-musl-cache.patch
)
diff --git a/games-emulation/pcsx2/pcsx2-9999.ebuild b/games-emulation/pcsx2/pcsx2-9999.ebuild
index deabb28cc4af..ed8749726f75 100644
--- a/games-emulation/pcsx2/pcsx2-9999.ebuild
+++ b/games-emulation/pcsx2/pcsx2-9999.ebuild
@@ -81,6 +81,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-1.7.5232-cubeb-automagic.patch
"${FILESDIR}"/${PN}-1.7.5835-vanilla-shaderc.patch
"${FILESDIR}"/${PN}-1.7.5855-no-libbacktrace.patch
+ "${FILESDIR}"/${PN}-1.7.5835-musl-header.patch
"${FILESDIR}"/${PN}-1.7.5913-musl-cache.patch
)