mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 14:43:27 -04:00
games-emulation/shadPS4: patch to fix build faliure
Closes: https://bugs.gentoo.org/975955 Signed-off-by: Ceres <ceres@ceressees.dev>
This commit is contained in:
14
games-emulation/shadPS4/files/shadPS4-0.15.0-getpid.patch
Normal file
14
games-emulation/shadPS4/files/shadPS4-0.15.0-getpid.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
Includes headers needed for getpid()
|
||||
Closes: https://bugs.gentoo.org/975955
|
||||
|
||||
--- a/src/core/debugger.cpp
|
||||
+++ b/src/core/debugger.cpp
|
||||
@@ -12,6 +12,8 @@
|
||||
#elif defined(__linux__)
|
||||
#include <filesystem>
|
||||
#include <fstream>
|
||||
+#include <sys/types.h>
|
||||
+#include <unistd.h>
|
||||
#elif defined(__APPLE__)
|
||||
#include <errno.h>
|
||||
#include <signal.h>
|
||||
@@ -46,6 +46,7 @@ RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
eapply "${FILESDIR}/${P}-SDL3-rename.patch"
|
||||
eapply "${FILESDIR}/${P}-getpid.patch"
|
||||
eapply "${FILESDIR}/${P}-cmake-4.patch"
|
||||
eapply "${FILESDIR}/${P}-executable-stack.patch"
|
||||
eapply "${FILESDIR}/${P}-sstream.patch"
|
||||
|
||||
Reference in New Issue
Block a user