yuzu-Ubuntu/debian/patches/include-utility-header.patch
Andrea Pappacoda ab56afef99 Import Debian changes 0-1176+ds-1
yuzu (0-1176+ds-1) unstable; urgency=low
.
  * Initial release. Closes: #947399
2022-09-23 13:40:54 +02:00

48 lines
1.5 KiB
Diff

Description: Include <utility> header
Due to a bug in Boost asio 1.78 and older, it is required to manually
include the <utility> header. It was fixed in the following asio commit:
https://github.com/boostorg/asio/commit/71964b22c7fade69cc4caa1c869a868e3a32cc97
Author: Andrea Pappacoda <andrea@pappacoda.it>
Forwarded: not-needed
Last-Update: 2022-09-22
--- yuzu-0-1176+ds.orig/src/core/debugger/debugger.cpp
+++ yuzu-0-1176+ds/src/core/debugger/debugger.cpp
@@ -4,6 +4,7 @@
#include <algorithm>
#include <mutex>
#include <thread>
+#include <utility>
#include <boost/asio.hpp>
#include <boost/process/async_pipe.hpp>
--- yuzu-0-1176+ds.orig/src/core/file_sys/bis_factory.cpp
+++ yuzu-0-1176+ds/src/core/file_sys/bis_factory.cpp
@@ -2,6 +2,7 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#include <fmt/format.h>
+#include <utility>
#include "common/fs/path_util.h"
#include "core/file_sys/bis_factory.h"
#include "core/file_sys/mode.h"
--- yuzu-0-1176+ds.orig/src/input_common/drivers/udp_client.cpp
+++ yuzu-0-1176+ds/src/input_common/drivers/udp_client.cpp
@@ -2,6 +2,7 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#include <random>
+#include <utility>
#include <boost/asio.hpp>
#include <fmt/format.h>
--- yuzu-0-1176+ds.orig/src/tests/input_common/calibration_configuration_job.cpp
+++ yuzu-0-1176+ds/src/tests/input_common/calibration_configuration_job.cpp
@@ -4,6 +4,7 @@
#include <array>
#include <string>
#include <thread>
+#include <utility>
#include <boost/asio.hpp>
#include <boost/crc.hpp>
#include <catch2/catch.hpp>