git: a535111bd336 - main - emulators/pcsx2: Update to 1.7.4097

From: Ganael LAPLANCHE <martymac_at_FreeBSD.org>
Date: Fri, 17 Feb 2023 16:49:38 UTC
The branch main has been updated by martymac:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a535111bd3362c3463253683afbf485ffd8762cc

commit a535111bd3362c3463253683afbf485ffd8762cc
Author:     Ganael LAPLANCHE <martymac@FreeBSD.org>
AuthorDate: 2023-02-17 16:49:14 +0000
Commit:     Ganael LAPLANCHE <martymac@FreeBSD.org>
CommitDate: 2023-02-17 16:49:14 +0000

    emulators/pcsx2: Update to 1.7.4097
---
 emulators/pcsx2/Makefile                                  |  3 +--
 emulators/pcsx2/distinfo                                  |  6 +++---
 emulators/pcsx2/files/patch-common-Linux-LnxHostSys.cpp   | 11 -----------
 emulators/pcsx2/files/patch-pcsx2-Frontend-CommonHost.cpp | 13 -------------
 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))