mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-12 17:51:11 -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:
2 files changed
+15
No files matched your search
@@ -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