mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
games-emulation/shadPS4: fix build faliure
include sstream to fix build faliure Closes: https://bugs.gentoo.org/975037 Signed-off-by: Ceres <ceres@ceressees.dev>
This commit is contained in:
14
games-emulation/shadPS4/files/shadPS4-0.15.0-sstream.patch
Normal file
14
games-emulation/shadPS4/files/shadPS4-0.15.0-sstream.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
Fixes build faliure
|
||||
Closes: https://bugs.gentoo.org/975037
|
||||
From: https://github.com/shadps4-emu/ext-hwinfo/commit/f85127c489e0f25903d2a56d9841adb5349a86f2
|
||||
|
||||
--- a/externals/hwinfo/src/linux/disk.cpp
|
||||
+++ b/externals/hwinfo/src/linux/disk.cpp
|
||||
@@ -13,6 +13,7 @@
|
||||
#include <fstream>
|
||||
#include <regex>
|
||||
#include <vector>
|
||||
+#include <sstream>
|
||||
|
||||
namespace {
|
||||
|
||||
@@ -48,6 +48,7 @@ src_prepare() {
|
||||
eapply "${FILESDIR}/${P}-SDL3-rename.patch"
|
||||
eapply "${FILESDIR}/${P}-cmake-4.patch"
|
||||
eapply "${FILESDIR}/${P}-executable-stack.patch"
|
||||
eapply "${FILESDIR}/${P}-sstream.patch"
|
||||
mv src/core/libraries/fiber/fiber_context.s src/core/libraries/fiber/fiber_context.S || die
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user