diff --git a/emulators/yuzu/Makefile b/emulators/yuzu/Makefile index 44961a14c1ea..2d3b21bafd6a 100644 --- a/emulators/yuzu/Makefile +++ b/emulators/yuzu/Makefile @@ -1,6 +1,6 @@ PORTNAME= yuzu PORTVERSION= s20240301 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= emulators wayland .if make(makesum) MASTER_SITES= https://api.yuzu-emu.org/gamedb/?dummy=/:gamedb diff --git a/emulators/yuzu/files/patch-boost-1.86 b/emulators/yuzu/files/patch-boost-1.86 deleted file mode 100644 index 3bfa48206734..000000000000 --- a/emulators/yuzu/files/patch-boost-1.86 +++ /dev/null @@ -1,13 +0,0 @@ -https://github.com/boostorg/asio/issues/437 -https://github.com/boostorg/asio/commit/6ca7c4726e05 - ---- CMakeLists.txt.orig 2024-03-01 07:57:00 UTC -+++ CMakeLists.txt -@@ -275,6 +275,7 @@ add_definitions(-DBOOST_ASIO_DISABLE_CONCEPTS) - - # boost asio's concept usage doesn't play nicely with some compilers yet. - add_definitions(-DBOOST_ASIO_DISABLE_CONCEPTS) -+add_definitions(-Dasync_operation=typename) # XXX Remove after Boost 1.87 upgrade - if (MSVC) - add_compile_options($<$:/std:c++20>) - diff --git a/emulators/yuzu/files/patch-boost-1.87 b/emulators/yuzu/files/patch-boost-1.87 new file mode 100644 index 000000000000..375000360b4f --- /dev/null +++ b/emulators/yuzu/files/patch-boost-1.87 @@ -0,0 +1,29 @@ +src/input_common/drivers/udp_client.cpp:116:18: error: no type named 'io_service' in namespace 'boost::asio' + 116 | boost::asio::io_service io_service; + | ~~~~~~~~~~~~~^ +src/tests/input_common/calibration_configuration_job.cpp:85:18: error: no type named 'io_service' in namespace 'boost::asio' + 85 | boost::asio::io_service io_service; + | ~~~~~~~~~~~~~^ + +--- src/input_common/drivers/udp_client.cpp.orig 2024-03-01 07:57:00 UTC ++++ src/input_common/drivers/udp_client.cpp +@@ -113,7 +113,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; + +--- src/tests/input_common/calibration_configuration_job.cpp.orig 2024-03-01 07:57:00 UTC ++++ src/tests/input_common/calibration_configuration_job.cpp +@@ -82,7 +82,7 @@ class FakeCemuhookServer { (private) + } + + private: +- boost::asio::io_service io_service; ++ boost::asio::io_context io_service; + boost::asio::ip::udp::socket socket; + std::array send_buffer; + std::array receive_buffer;