yuzu-Debian/debian/patches/include-utility-header.patch
Andrea Pappacoda 6c9002995c
d/patches: revert Catch2 v3 switch
Catch2 version 3 won't be available in Debian for a while.

Gbp-Dch: Full
2023-01-23 21:18:45 +01:00

48 lines
1.6 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: 2023-01-23
--- yuzu-0-1317+ds.orig/src/core/debugger/debugger.cpp
+++ yuzu-0-1317+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-1317+ds.orig/src/core/file_sys/bis_factory.cpp
+++ yuzu-0-1317+ds/src/core/file_sys/bis_factory.cpp
@@ -1,6 +1,7 @@
// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
+#include <utility>
#include <fmt/format.h>
#include "common/fs/path_util.h"
#include "core/file_sys/bis_factory.h"
--- yuzu-0-1317+ds.orig/src/input_common/drivers/udp_client.cpp
+++ yuzu-0-1317+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-1317+ds.orig/src/tests/input_common/calibration_configuration_job.cpp
+++ yuzu-0-1317+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>