git: e38dd11ac0e2 - main - emulators/yuzu: update to s20230918

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Tue, 19 Sep 2023 00:45:12 UTC
The branch main has been updated by jbeich:

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

commit e38dd11ac0e24e8ae25b56f74306f11fe3181ced
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-09-18 13:31:05 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-09-19 00:43:55 +0000

    emulators/yuzu: update to s20230918
    
    Changes:        https://github.com/yuzu-emu/yuzu/compare/aa6afb0cf...974380fe1
---
 emulators/yuzu/Makefile              |  4 ++--
 emulators/yuzu/distinfo              |  6 +++---
 emulators/yuzu/files/patch-renderdoc | 28 ++++++++++++++++++++++++++++
 3 files changed, 33 insertions(+), 5 deletions(-)

diff --git a/emulators/yuzu/Makefile b/emulators/yuzu/Makefile
index c7d0af1bc5d4..243949637352 100644
--- a/emulators/yuzu/Makefile
+++ b/emulators/yuzu/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	yuzu
-PORTVERSION=	s20230915
+PORTVERSION=	s20230918
 CATEGORIES=	emulators wayland
 .if make(makesum)
 MASTER_SITES=	https://api.yuzu-emu.org/gamedb/?dummy=/:gamedb
@@ -46,7 +46,7 @@ qt6_OPTIONS_EXCLUDE=	QT5
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	yuzu-emu
-GH_TAGNAME=	aa6afb0cf
+GH_TAGNAME=	974380fe1
 GH_TUPLE=	yuzu-emu:mbedtls:v2.16.9-115-g8c88150ca:mbedtls/externals/mbedtls \
 		yuzu-emu:sirit:ab75463:sirit/externals/sirit \
 		GPUOpen-LibrariesAndSDKs:VulkanMemoryAllocator:v3.0.1-94-g9b0fc3e:VulkanMemoryAllocator/externals/VulkanMemoryAllocator \
diff --git a/emulators/yuzu/distinfo b/emulators/yuzu/distinfo
index 0d12759e2802..0ae9e55b44ae 100644
--- a/emulators/yuzu/distinfo
+++ b/emulators/yuzu/distinfo
@@ -1,8 +1,8 @@
-TIMESTAMP = 1694750456
+TIMESTAMP = 1695043865
 SHA256 (yuzu-s20230424/compatibility_list.json) = 382db629d6b060af722a27dfa9cd6bb60ac16a7544c58322f63aa1be4c0c0fac
 SIZE (yuzu-s20230424/compatibility_list.json) = 1801327
-SHA256 (yuzu-emu-yuzu-s20230915-aa6afb0cf_GH0.tar.gz) = 962fcc5966658a24eb14b697f0b510bb31b1f3d2adc3b7d153b7adf34e793d34
-SIZE (yuzu-emu-yuzu-s20230915-aa6afb0cf_GH0.tar.gz) = 6136325
+SHA256 (yuzu-emu-yuzu-s20230918-974380fe1_GH0.tar.gz) = bb70ae2fdb2fcac2e596155e353882788340c3cf253d59d1027ba21bcb023093
+SIZE (yuzu-emu-yuzu-s20230918-974380fe1_GH0.tar.gz) = 6154779
 SHA256 (yuzu-emu-mbedtls-v2.16.9-115-g8c88150ca_GH0.tar.gz) = 8cd6d075b4da0ad5fb995eb37390e2e6088be8d41ab1cdfc7e7e4256bd991450
 SIZE (yuzu-emu-mbedtls-v2.16.9-115-g8c88150ca_GH0.tar.gz) = 2679189
 SHA256 (yuzu-emu-sirit-ab75463_GH0.tar.gz) = 6b61e265be182b7a78075fc1b98ccf80fd33008343205dd0e22a10a439c45319
diff --git a/emulators/yuzu/files/patch-renderdoc b/emulators/yuzu/files/patch-renderdoc
new file mode 100644
index 000000000000..225f28116027
--- /dev/null
+++ b/emulators/yuzu/files/patch-renderdoc
@@ -0,0 +1,28 @@
+In file included from src/core/tools/renderdoc.cpp:4:
+externals/./renderdoc/renderdoc_app.h:46:2: error: "Unknown platform"
+   46 | #error "Unknown platform"
+      |  ^
+externals/./renderdoc/renderdoc_app.h:240:26: error: expected ')'
+  240 | typedef int(RENDERDOC_CC *pRENDERDOC_SetCaptureOptionU32)(RENDERDOC_CaptureOption opt, uint32_t val);
+      |                          ^
+externals/./renderdoc/renderdoc_app.h:240:12: note: to match this '('
+  240 | typedef int(RENDERDOC_CC *pRENDERDOC_SetCaptureOptionU32)(RENDERDOC_CaptureOption opt, uint32_t val);
+      |            ^
+[...]
+
+--- externals/./renderdoc/renderdoc_app.h~	2023-09-18 13:31:05.000000000 +0000
++++ externals/./renderdoc/renderdoc_app.h	2023-09-18 17:24:14.130392873 +0000
+@@ -38,12 +38,8 @@
+ 
+ #if defined(WIN32) || defined(__WIN32__) || defined(_WIN32) || defined(_MSC_VER)
+ #define RENDERDOC_CC __cdecl
+-#elif defined(__linux__)
+-#define RENDERDOC_CC
+-#elif defined(__APPLE__)
+-#define RENDERDOC_CC
+ #else
+-#error "Unknown platform"
++#define RENDERDOC_CC
+ #endif
+ 
+ #ifdef __cplusplus