[neon/extras/qcoro/Neon/release] debian/patches: attempt a fix

Pino Toscano null at kde.org
Wed May 4 12:31:30 BST 2022


Git commit c03914843f297b6633d24d1b68ce84bbc3fd0e30 by Pino Toscano.
Committed on 26/04/2022 at 04:22.
Pushed by jriddell into branch 'Neon/release'.

attempt a fix

A  +12   -0    debian/patches/qcorosignal.diff
A  +1    -0    debian/patches/series

https://invent.kde.org/neon/extras/qcoro/commit/c03914843f297b6633d24d1b68ce84bbc3fd0e30

diff --git a/debian/patches/qcorosignal.diff b/debian/patches/qcorosignal.diff
new file mode 100644
index 0000000..bd09ebd
--- /dev/null
+++ b/debian/patches/qcorosignal.diff
@@ -0,0 +1,12 @@
+--- a/qcoro/core/qcorosignal.h
++++ b/qcoro/core/qcorosignal.h
+@@ -127,8 +127,7 @@ QCoroSignal(T *, FuncPtr &&, std::chrono
+ template<QCoro::detail::concepts::QObject T, typename FuncPtr>
+ inline auto qCoro(T *obj, FuncPtr &&ptr, std::chrono::milliseconds timeout)
+     -> QCoro::Task<typename QCoro::detail::QCoroSignal<T, FuncPtr>::result_type> {
+-    QCoro::detail::QCoroSignal coroSignal(obj, std::forward<FuncPtr>(ptr), timeout);
+-    auto result = co_await coroSignal;
++    auto result = co_await QCoro::detail::QCoroSignal(obj, std::forward<FuncPtr>(ptr), timeout);
+     co_return std::move(result);
+ }
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..cfbf835
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+qcorosignal.diff



More information about the Neon-commits mailing list