git: f53e3975bd47 - main - emulators/vice: fix build on FreeBSD-14

From: Dirk Meyer <dinoex_at_FreeBSD.org>
Date: Sat, 18 Mar 2023 20:38:06 UTC
The branch main has been updated by dinoex:

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

commit f53e3975bd470d74936a26139521d5d1c2196314
Author:     Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2023-03-18 19:32:23 +0000
Commit:     Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2023-03-18 19:32:23 +0000

    emulators/vice: fix build on FreeBSD-14
---
 .../vice/files/patch-src_arch_gtk3_joystickdrv_joystick_bsd.c | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/emulators/vice/files/patch-src_arch_gtk3_joystickdrv_joystick_bsd.c b/emulators/vice/files/patch-src_arch_gtk3_joystickdrv_joystick_bsd.c
new file mode 100644
index 000000000000..19dbd78b8738
--- /dev/null
+++ b/emulators/vice/files/patch-src_arch_gtk3_joystickdrv_joystick_bsd.c
@@ -0,0 +1,11 @@
+--- src/arch/gtk3/joystickdrv/joystick_bsd.c.orig	2022-12-27 23:56:56 UTC
++++ src/arch/gtk3/joystickdrv/joystick_bsd.c
+@@ -203,7 +203,7 @@ static void usb_joystick(int jp, void* priv)
+     }
+     if (ret != -1 && errno != EAGAIN) {
+         /* XXX */
+-        log_warning("strange read return: %zd/%d", ret, errno);
++        log_warning(bsd_joystick_log, "strange read return: %zd/%d", ret, errno);
+         return;
+     }
+     if (!val) {