aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGanael LAPLANCHE <martymac@FreeBSD.org>2023-02-17 16:49:14 +0000
committerGanael LAPLANCHE <martymac@FreeBSD.org>2023-02-17 16:49:14 +0000
commita535111bd3362c3463253683afbf485ffd8762cc (patch)
tree65b4c3a06de82f696207456dc137843b0ce1777a
parentd3641f4fa9e451f5944d52b6e05d0b3ad396e2bb (diff)
downloadports-a535111bd3362c3463253683afbf485ffd8762cc.tar.gz
ports-a535111bd3362c3463253683afbf485ffd8762cc.zip
emulators/pcsx2: Update to 1.7.4097
-rw-r--r--emulators/pcsx2/Makefile3
-rw-r--r--emulators/pcsx2/distinfo6
-rw-r--r--emulators/pcsx2/files/patch-common-Linux-LnxHostSys.cpp11
-rw-r--r--emulators/pcsx2/files/patch-pcsx2-Frontend-CommonHost.cpp13
4 files changed, 4 insertions, 29 deletions
diff --git a/emulators/pcsx2/Makefile b/emulators/pcsx2/Makefile
index 513f529bdcf7..5bb68b894e8b 100644
--- a/emulators/pcsx2/Makefile
+++ b/emulators/pcsx2/Makefile
@@ -1,6 +1,5 @@
PORTNAME= pcsx2
-PORTVERSION= 1.7.4075
-PORTREVISION= 1
+PORTVERSION= 1.7.4097
CATEGORIES= emulators
MAINTAINER= martymac@FreeBSD.org
diff --git a/emulators/pcsx2/distinfo b/emulators/pcsx2/distinfo
index 46af9a781096..c812bd0ebdf2 100644
--- a/emulators/pcsx2/distinfo
+++ b/emulators/pcsx2/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1676320977
-SHA256 (pcsx2-pcsx2-1.7.4075-v1.7.4075_GH0.tar.gz) = f4101a0fa703ebc0ff52c4d4bb017c536f97af6ef6907a429512e47f1cc593b6
-SIZE (pcsx2-pcsx2-1.7.4075-v1.7.4075_GH0.tar.gz) = 9193940
+TIMESTAMP = 1676582077
+SHA256 (pcsx2-pcsx2-1.7.4097-v1.7.4097_GH0.tar.gz) = 0dd25d4b4dd864f2d695f0704b3122668c1f0ecf55457cc5fbe6c27ce72458c6
+SIZE (pcsx2-pcsx2-1.7.4097-v1.7.4097_GH0.tar.gz) = 9195636
SHA256 (rtissera-libchdr-5de1a59019815ccdbba0fe07c71b31406d023248_GH0.tar.gz) = e0df9f88cd93e673d384cbf7cf28ea396aba96c769b41ec149a259768b27b00c
SIZE (rtissera-libchdr-5de1a59019815ccdbba0fe07c71b31406d023248_GH0.tar.gz) = 414409
SHA256 (biojppm-rapidyaml-213b201d264139cd1b887790197e08850af628e3_GH0.tar.gz) = c206d4565ccfa721991a8df90821d1a1f747e68385a0f3f5b9ab995e191c06be
diff --git a/emulators/pcsx2/files/patch-common-Linux-LnxHostSys.cpp b/emulators/pcsx2/files/patch-common-Linux-LnxHostSys.cpp
deleted file mode 100644
index 848b8a424690..000000000000
--- a/emulators/pcsx2/files/patch-common-Linux-LnxHostSys.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- common/Linux/LnxHostSys.cpp.orig 2023-02-10 03:43:10 UTC
-+++ common/Linux/LnxHostSys.cpp
-@@ -100,6 +100,8 @@ static void SysPageFaultSignalFilter(int signal, sigin
-
- #if defined(__APPLE__) && defined(__x86_64__)
- void* const exception_pc = reinterpret_cast<void*>(static_cast<ucontext_t*>(ctx)->uc_mcontext->__ss.__rip);
-+#elif defined(__FreeBSD__) && defined(__x86_64__)
-+ void* const exception_pc = reinterpret_cast<void*>(static_cast<ucontext_t*>(ctx)->uc_mcontext.mc_rip);
- #elif defined(__x86_64__)
- void* const exception_pc = reinterpret_cast<void*>(static_cast<ucontext_t*>(ctx)->uc_mcontext.gregs[REG_RIP]);
- #else
diff --git a/emulators/pcsx2/files/patch-pcsx2-Frontend-CommonHost.cpp b/emulators/pcsx2/files/patch-pcsx2-Frontend-CommonHost.cpp
deleted file mode 100644
index f6516815a51e..000000000000
--- a/emulators/pcsx2/files/patch-pcsx2-Frontend-CommonHost.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
-Handle config path on FreeBSD
-
---- pcsx2/Frontend/CommonHost.cpp.orig 2023-02-10 03:43:10 UTC
-+++ pcsx2/Frontend/CommonHost.cpp
-@@ -160,7 +160,7 @@ void CommonHost::SetDataDirectory()
- EmuFolders::DataRoot = Path::Combine(StringUtil::WideStringToUTF8String(documents_directory), "PCSX2");
- CoTaskMemFree(documents_directory);
- }
--#elif defined(__linux__)
-+#elif defined(__linux__) || defined(__FreeBSD__)
- // Use $XDG_CONFIG_HOME/PCSX2 if it exists.
- const char* xdg_config_home = getenv("XDG_CONFIG_HOME");
- if (xdg_config_home && Path::IsAbsolute(xdg_config_home))