git: cb9b4d096498 - main - games/retroarch: Incorporate changes from a pull request
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 18 Feb 2024 09:53:26 UTC
The branch main has been updated by ehaupt:
URL: https://cgit.FreeBSD.org/ports/commit/?id=cb9b4d09649857e585159630f4d31e014af21884
commit cb9b4d09649857e585159630f4d31e014af21884
Author: Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2024-02-18 08:46:52 +0000
Commit: Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2024-02-18 09:53:15 +0000
games/retroarch: Incorporate changes from a pull request
Incorporate changes from a pull request for improved traceability and
documentation.
See https://github.com/libretro/RetroArch/pull/16221
This is a NOP change and does not warrant a PORTREVISION bump.
---
games/retroarch/files/patch-input_input__keymaps.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/games/retroarch/files/patch-input_input__keymaps.c b/games/retroarch/files/patch-input_input__keymaps.c
index dae7278b7f58..4dd10b4c46c1 100644
--- a/games/retroarch/files/patch-input_input__keymaps.c
+++ b/games/retroarch/files/patch-input_input__keymaps.c
@@ -5,7 +5,7 @@
#endif
-#if defined(__linux__) || defined(HAVE_WAYLAND)
-+#if defined(__linux__) || defined(HAVE_WAYLAND) || defined(__FreeBSD__)
++#if defined(__linux__) || defined(HAVE_WAYLAND) || defined(__FreeBSD__) && !defined(__PS4__)
#if defined(__linux__)
#include <linux/input.h>
#include <linux/kd.h>
@@ -14,7 +14,7 @@
#endif
-#if defined(__linux__) || defined(HAVE_WAYLAND)
-+#if defined(__linux__) || defined(HAVE_WAYLAND) || defined(__FreeBSD__)
++#if defined(__linux__) || defined(HAVE_WAYLAND) || defined(__FreeBSD__) && !defined(__PS4__)
/* Note: Only one input can be mapped to each
* RETROK_* key. If several physical inputs
* correspond to the same key, these inputs