diff --git a/emulators/citra/Makefile b/emulators/citra/Makefile index 5065ec3d4ad6..5db1b3bb3ee3 100644 --- a/emulators/citra/Makefile +++ b/emulators/citra/Makefile @@ -1,6 +1,6 @@ PORTNAME= citra PORTVERSION= s20220902 -PORTREVISION?= 3 +PORTREVISION?= 4 CATEGORIES= emulators .if make(makesum) MASTER_SITES= https://api.citra-emu.org/gamedb/?dummy=/:gamedb @@ -95,8 +95,6 @@ QT5_PLIST_FILES=bin/${PORTNAME}-qt \ .include post-patch: - @${REINPLACE_CMD} -e '/check_submodules_present()/d' \ - ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e 's/@GIT_BRANCH@/master/' \ -e 's/@GIT_DESC@/${GH_TAGNAME}/' \ ${WRKSRC}/src/common/scm_rev.cpp.in diff --git a/emulators/citra/files/patch-CMakeLists.txt b/emulators/citra/files/patch-CMakeLists.txt index 4052df279513..57c9d442a244 100644 --- a/emulators/citra/files/patch-CMakeLists.txt +++ b/emulators/citra/files/patch-CMakeLists.txt @@ -1,8 +1,16 @@ citra-qt currently needs SDL for audio and input ---- CMakeLists.txt.orig 2017-08-09 15:54:29 UTC +--- CMakeLists.txt.orig 2022-09-01 18:37:46 UTC +++ CMakeLists.txt -@@ -207,15 +207,15 @@ if (ENABLE_SDL2) +@@ -71,7 +71,6 @@ endfunction() + endif() + endforeach() + endfunction() +-check_submodules_present() + + configure_file(${PROJECT_SOURCE_DIR}/dist/compatibility_list/compatibility_list.qrc + ${PROJECT_BINARY_DIR}/dist/compatibility_list/compatibility_list.qrc +@@ -168,15 +167,15 @@ if (ENABLE_SDL2) else() find_package(SDL2 REQUIRED) endif() diff --git a/emulators/citra/files/patch-src_input__common_udp_client.cpp b/emulators/citra/files/patch-src_input__common_udp_client.cpp new file mode 100644 index 000000000000..111f6bc85c46 --- /dev/null +++ b/emulators/citra/files/patch-src_input__common_udp_client.cpp @@ -0,0 +1,11 @@ +--- src/input_common/udp/client.cpp.orig 2025-02-16 22:55:21 UTC ++++ src/input_common/udp/client.cpp +@@ -109,7 +109,7 @@ class Socket { (private) + } + + SocketCallback callback; +- boost::asio::io_service io_service; ++ boost::asio::io_context io_service; + boost::asio::basic_waitable_timer timer; + udp::socket socket; +