[neon/extras/qcoro/Neon/release] debian: update the patches

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


Git commit 1234b2974f02826b96b2e889a59b613a49cbaf48 by Pino Toscano.
Committed on 28/04/2022 at 03:50.
Pushed by jriddell into branch 'Neon/release'.

update the patches

- qcorosignal.diff: drop, fixed upstream

M  +2    -0    debian/changelog
D  +0    -21   debian/patches/qcorosignal.diff
D  +0    -1    debian/patches/series

https://invent.kde.org/neon/extras/qcoro/commit/1234b2974f02826b96b2e889a59b613a49cbaf48

diff --git a/debian/changelog b/debian/changelog
index 58a15d7..2205ec4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ qcoro (0.5.1-0r1) UNRELEASED; urgency=medium
 
   [ Pino Toscano ]
   * New upstream release.
+  * Update the patches:
+    - qcorosignal.diff: drop, fixed upstream
 
  -- Debian KDE Extras Team <pkg-kde-extras at lists.alioth.debian.org>  Thu, 28 Apr 2022 05:49:34 +0200
 
diff --git a/debian/patches/qcorosignal.diff b/debian/patches/qcorosignal.diff
deleted file mode 100644
index aa9befd..0000000
--- a/debian/patches/qcorosignal.diff
+++ /dev/null
@@ -1,21 +0,0 @@
-Author: Pino Toscano <pino at debian.org>
-Description: Avoid temporary variable
- QCoro::detail::QCoroSignal cannot be copied because it uses std::unique_ptr,
- which is not copiable.
- Avoid storing an instance of it in a temporary variable, so GCC does not think
- it needs to be copied when calling co_await.
-Forwarded: no
-Last-Update: 2022-04-26
-
---- 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
deleted file mode 100644
index cfbf835..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-qcorosignal.diff



More information about the Neon-commits mailing list