summaryrefslogtreecommitdiffstats
path: root/games/RetroArch
diff options
context:
space:
mode:
Diffstat (limited to 'games/RetroArch')
-rw-r--r--games/RetroArch/RetroArch.SlackBuild6
-rw-r--r--games/RetroArch/udev.patch.gzbin0 -> 686 bytes
2 files changed, 5 insertions, 1 deletions
diff --git a/games/RetroArch/RetroArch.SlackBuild b/games/RetroArch/RetroArch.SlackBuild
index 6a0892c3b8..b1325e9cf3 100644
--- a/games/RetroArch/RetroArch.SlackBuild
+++ b/games/RetroArch/RetroArch.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=RetroArch
VERSION=${VERSION:-1.6.7}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -114,6 +114,10 @@ sed -e "s|# audio_filter_dir =|audio_filter_dir = /usr/lib${LIBDIRSUFFIX}/retroa
-e "$SED_CORE;$SED_INFO;$SED_MENU" \
-i retroarch.cfg
+# Disable keyboard input if window is not active
+# https://github.com/libretro/RetroArch/commit/84d33fb847d62e833edbf75017d6861bb66aac31
+zcat $CWD/udev.patch.gz | patch -p1
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
diff --git a/games/RetroArch/udev.patch.gz b/games/RetroArch/udev.patch.gz
new file mode 100644
index 0000000000..f931f6c3c2
--- /dev/null
+++ b/games/RetroArch/udev.patch.gz
Binary files differ