summaryrefslogtreecommitdiff
path: root/emulators/pcsx2/files
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/pcsx2/files')
-rw-r--r--emulators/pcsx2/files/patch-cmake-SearchForStuff.cmake11
-rw-r--r--emulators/pcsx2/files/patch-common-CMakeLists.txt10
2 files changed, 21 insertions, 0 deletions
diff --git a/emulators/pcsx2/files/patch-cmake-SearchForStuff.cmake b/emulators/pcsx2/files/patch-cmake-SearchForStuff.cmake
new file mode 100644
index 000000000000..e67cb027fb7f
--- /dev/null
+++ b/emulators/pcsx2/files/patch-cmake-SearchForStuff.cmake
@@ -0,0 +1,11 @@
+--- cmake/SearchForStuff.cmake.orig 2025-06-23 10:47:03 UTC
++++ cmake/SearchForStuff.cmake
+@@ -1,6 +1,8 @@
+ #-------------------------------------------------------------------------------
+ # Search all libraries on the system
+ #-------------------------------------------------------------------------------
++list(APPEND CMAKE_MODULE_PATH ${CMAKE_LOCALBASE}/lib/cmake/SDL3_ttf)
++include(PkgConfigHelper)
+ find_package(Git)
+
+ # Require threads on all OSes.
diff --git a/emulators/pcsx2/files/patch-common-CMakeLists.txt b/emulators/pcsx2/files/patch-common-CMakeLists.txt
new file mode 100644
index 000000000000..f0918e407dde
--- /dev/null
+++ b/emulators/pcsx2/files/patch-common-CMakeLists.txt
@@ -0,0 +1,10 @@
+--- common/CMakeLists.txt.orig 2025-06-23 14:55:49 UTC
++++ common/CMakeLists.txt
+@@ -169,6 +169,7 @@ else()
+ X11::X11
+ X11::Xrandr
+ X11::Xi
++ -lsysinfo
+ )
+ if(USE_BACKTRACE)
+ target_compile_definitions(common PRIVATE "HAS_LIBBACKTRACE=1")