[neon/qt/qtwayland/Neon/release] debian: Backport upstream patch to fix build with GCC 11.

Dmitry Shachnev null at kde.org
Sun May 1 00:37:57 BST 2022


Git commit b1ddae455a99616301600c12f513e819db701d44 by Dmitry Shachnev.
Committed on 10/08/2021 at 12:32.
Pushed by sitter into branch 'Neon/release'.

Backport upstream patch to fix build with GCC 11.

Closes: #984312.

M  +2    -0    debian/changelog
A  +14   -0    debian/patches/gcc_11.diff
M  +1    -0    debian/patches/series

https://invent.kde.org/neon/qt/qtwayland/commit/b1ddae455a99616301600c12f513e819db701d44

diff --git a/debian/changelog b/debian/changelog
index 0188a4e..1e48a8c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,7 @@
 qtwayland-opensource-src (5.15.2-4) UNRELEASED; urgency=medium
 
+  [ Dmitry Shachnev ]
+  * Backport upstream patch to fix build with GCC 11 (closes: #984312).
 
  -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Tue, 10 Aug 2021 15:31:00 +0300
 
diff --git a/debian/patches/gcc_11.diff b/debian/patches/gcc_11.diff
new file mode 100644
index 0000000..5615940
--- /dev/null
+++ b/debian/patches/gcc_11.diff
@@ -0,0 +1,14 @@
+Description: build fixes for GCC 11
+Origin: upstream, https://code.qt.io/cgit/qt/qtwayland.git/commit/?id=1aa6ec2c778504d9
+Last-Update: 2021-08-10
+
+--- a/tests/auto/client/shared/corecompositor.cpp
++++ b/tests/auto/client/shared/corecompositor.cpp
+@@ -27,6 +27,7 @@
+ ****************************************************************************/
+ 
+ #include "corecompositor.h"
++#include <thread>
+ 
+ namespace MockCompositor {
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 36a7d79..803456d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 skip_animated_cursor_test.diff
 fix_dead_keys.diff
+gcc_11.diff



More information about the Neon-commits mailing list