summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-emulation/pcsx2/files/pcsx2-1.7.5817-missing-headers.patch18
-rw-r--r--games-emulation/pcsx2/pcsx2-9999.ebuild2
2 files changed, 19 insertions, 1 deletions
diff --git a/games-emulation/pcsx2/files/pcsx2-1.7.5817-missing-headers.patch b/games-emulation/pcsx2/files/pcsx2-1.7.5817-missing-headers.patch
new file mode 100644
index 000000000000..d8d341a7dea1
--- /dev/null
+++ b/games-emulation/pcsx2/files/pcsx2-1.7.5817-missing-headers.patch
@@ -0,0 +1,18 @@
+ThreadedFileReader.cpp:37:4: error: use of undeclared identifier 'memcpy'
+defs.h:78:14: error: no member named 'clamp' in namespace 'std'
+--- a/pcsx2/CDVD/ThreadedFileReader.h
++++ b/pcsx2/CDVD/ThreadedFileReader.h
+@@ -10,4 +10,5 @@
+ #include <atomic>
+ #include <condition_variable>
++#include <cstring>
+
+ class Error;
+--- a/pcsx2/SPU2/defs.h
++++ b/pcsx2/SPU2/defs.h
+@@ -6,4 +6,5 @@
+ #include "GS/MultiISA.h"
+
++#include <algorithm>
+ #include <array>
+
diff --git a/games-emulation/pcsx2/pcsx2-9999.ebuild b/games-emulation/pcsx2/pcsx2-9999.ebuild
index 69486b68cc68..643fe6a2b122 100644
--- a/games-emulation/pcsx2/pcsx2-9999.ebuild
+++ b/games-emulation/pcsx2/pcsx2-9999.ebuild
@@ -31,7 +31,6 @@ RESTRICT="!test? ( test )"
COMMON_DEPEND="
app-arch/lz4:=
app-arch/zstd:=
- dev-libs/libaio
dev-qt/qtbase:6[concurrent,gui,widgets]
dev-qt/qtsvg:6
media-libs/freetype
@@ -80,6 +79,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-1.7.4667-flags.patch
"${FILESDIR}"/${PN}-1.7.5232-cubeb-automagic.patch
"${FILESDIR}"/${PN}-1.7.5700-vanilla-shaderc.patch
+ "${FILESDIR}"/${PN}-1.7.5817-missing-headers.patch
)
src_prepare() {