diff --git a/packages/games/emulators/retroarch/package.mk b/packages/games/emulators/retroarch/package.mk index 5076c77c4..c54035293 100644 --- a/packages/games/emulators/retroarch/package.mk +++ b/packages/games/emulators/retroarch/package.mk @@ -2,7 +2,7 @@ # Copyright (C) 2021-present 351ELEC (https://github.com/351ELEC) PKG_NAME="retroarch" -PKG_VERSION="d7a30f2a18ad8cf689da94437440f438756e504d" +PKG_VERSION="4b7be8de3fca295c2dc18b3f8ea6d473dbd7ffaa" PKG_SITE="https://github.com/libretro/RetroArch" PKG_URL="${PKG_SITE}.git" PKG_LICENSE="GPLv3" @@ -10,7 +10,7 @@ PKG_DEPENDS_TARGET="toolchain SDL2 alsa-lib openssl freetype zlib retroarch-asse PKG_LONGDESC="Reference frontend for the libretro API." GET_HANDLER_SUPPORT="git" -PKG_PATCH_DIRS+="${DEVICE}" +PKG_PATCH_DIRS+=" ${DEVICE}" pre_configure_target() { TARGET_CONFIGURE_OPTS="" diff --git a/packages/games/emulators/retroarch/patches/0009-enablecontent.patch b/packages/games/emulators/retroarch/patches/0009-enablecontent.patch deleted file mode 100644 index f51e3b5f7..000000000 --- a/packages/games/emulators/retroarch/patches/0009-enablecontent.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff --git a/menu/menu_displaylist.c b/menu/menu_displaylist.c -index cc14b36a23..61b47b5be0 100644 ---- a/menu/menu_displaylist.c -+++ b/menu/menu_displaylist.c -@@ -11520,7 +11520,7 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type, - case DISPLAYLIST_OPTIONS: - menu_entries_ctl(MENU_ENTRIES_CTL_CLEAR, info->list); - { --#ifdef HAVE_LAKKA -+#ifndef HAVE_LAKKA - if (menu_entries_append_enum(info->list, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_UPDATE_LAKKA), - msg_hash_to_str(MENU_ENUM_LABEL_UPDATE_LAKKA), -diff --git a/menu/menu_setting.c b/menu/menu_setting.c -index b6fd84cab3..2038cb5b55 100644 ---- a/menu/menu_setting.c -+++ b/menu/menu_setting.c -@@ -8699,7 +8699,7 @@ static bool setting_append_list( - #endif - #if !defined(IOS) - /* Apple rejects iOS apps that let you forcibly quit them. */ --#ifdef HAVE_LAKKA -+#ifndef HAVE_LAKKA - CONFIG_ACTION( - list, list_info, - MENU_ENUM_LABEL_QUIT_RETROARCH, diff --git a/packages/games/emulators/retroarch/patches/0010-input_sort_devices.patch b/packages/games/emulators/retroarch/patches/0010-input_sort_devices.patch index dfe28a461..fbe701f60 100644 --- a/packages/games/emulators/retroarch/patches/0010-input_sort_devices.patch +++ b/packages/games/emulators/retroarch/patches/0010-input_sort_devices.patch @@ -47,4 +47,3 @@ index e60a8b2..03ba777 100644 + const char *name = udev_list_entry_get_name(sorted[i].item); struct udev_device *dev = udev_device_new_from_syspath(udev_joypad_fd, name); const char *devnode = udev_device_get_devnode(dev); -