git: 426848c07141 - 2023Q1 - emulators/rpcs3: unbreak build on aarch64 after ee309cdf6c6f

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Thu, 19 Jan 2023 14:47:14 UTC
The branch 2023Q1 has been updated by jbeich:

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

commit 426848c07141abb77e8a5e6c26cf322bee0206ba
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-01-19 14:34:13 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-01-19 14:47:01 +0000

    emulators/rpcs3: unbreak build on aarch64 after ee309cdf6c6f
    
    Utilities/Thread.cpp:1799:48: error: comparison of integers of different signs: 'uptr' (aka 'unsigned long') and '__register_t' (aka 'long') [-Werror,-Wsign-compare]
            const bool is_executing = uptr(info->si_addr) == RIP(context);
                                      ~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~
    
    Reported by:    pkg-fallout
    
    (cherry picked from commit 9f3b835b596086e4def2fc1dc9c8d56e6253fb6d)
---
 emulators/rpcs3/Makefile | 3 +++
 emulators/rpcs3/distinfo | 2 ++
 2 files changed, 5 insertions(+)

diff --git a/emulators/rpcs3/Makefile b/emulators/rpcs3/Makefile
index 0d58ce398cd0..d249b3f07796 100644
--- a/emulators/rpcs3/Makefile
+++ b/emulators/rpcs3/Makefile
@@ -4,6 +4,9 @@ DISTVERSION=	0.0.26 # git rev-list --count HEAD
 DISTVERSIONSUFFIX=	-14525-gdf718bcb0f
 CATEGORIES=	emulators wayland
 
+PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES+=	b0ee533b3216.patch:-p1 # https://github.com/RPCS3/rpcs3/pull/13257
+
 MAINTAINER=	jbeich@FreeBSD.org
 COMMENT=	PS3 emulator/debugger
 WWW=		https://rpcs3.net/
diff --git a/emulators/rpcs3/distinfo b/emulators/rpcs3/distinfo
index b471d428b4e4..2618af507c33 100644
--- a/emulators/rpcs3/distinfo
+++ b/emulators/rpcs3/distinfo
@@ -23,5 +23,7 @@ SHA256 (wolfSSL-wolfssl-v5.5.0-stable_GH0.tar.gz) = c34b74b5f689fac7becb05583b04
 SIZE (wolfSSL-wolfssl-v5.5.0-stable_GH0.tar.gz) = 18814382
 SHA256 (llvm-llvm-project-llvmorg-13.0.1_GH0.tar.gz) = 09c50d558bd975c41157364421820228df66632802a4a6a7c9c17f86a7340802
 SIZE (llvm-llvm-project-llvmorg-13.0.1_GH0.tar.gz) = 147290251
+SHA256 (b0ee533b3216.patch) = 74e0c849a404397b77cde8c8f6897955783482a8a0d0aad6320b2a17d79fa3ea
+SIZE (b0ee533b3216.patch) = 1266
 SHA256 (07549bfdfcfd.patch) = 134b759d303f47c45b1bd092a7d78e630408f06ff71e05c2853313f11f190e5a
 SIZE (07549bfdfcfd.patch) = 112687