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
-rw-r--r--emulators/pcsx2/files/patch-pcsx2-qt-AutoUpdaterDialog.cpp11
3 files changed, 32 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")
diff --git a/emulators/pcsx2/files/patch-pcsx2-qt-AutoUpdaterDialog.cpp b/emulators/pcsx2/files/patch-pcsx2-qt-AutoUpdaterDialog.cpp
new file mode 100644
index 000000000000..65743dc02ce9
--- /dev/null
+++ b/emulators/pcsx2/files/patch-pcsx2-qt-AutoUpdaterDialog.cpp
@@ -0,0 +1,11 @@
+--- pcsx2-qt/AutoUpdaterDialog.cpp.orig 2025-06-11 12:23:15 UTC
++++ pcsx2-qt/AutoUpdaterDialog.cpp
+@@ -53,6 +53,8 @@ static constexpr u32 HTTP_POLL_INTERVAL = 10;
+ #define UPDATE_PLATFORM_STR "Linux"
+ #elif defined(__APPLE__)
+ #define UPDATE_PLATFORM_STR "MacOS"
++#elif defined(__FreeBSD__)
++#define UPDATE_PLATFORM_STR "FreeBSD"
+ #endif
+
+ #ifdef MULTI_ISA_SHARED_COMPILATION