summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qtwayland/0001-tst_seatv4-Include-array.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-qt/qt5/qtwayland/0001-tst_seatv4-Include-array.patch')
-rw-r--r--recipes-qt/qt5/qtwayland/0001-tst_seatv4-Include-array.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtwayland/0001-tst_seatv4-Include-array.patch b/recipes-qt/qt5/qtwayland/0001-tst_seatv4-Include-array.patch
new file mode 100644
index 00000000..1f15ea0d
--- /dev/null
+++ b/recipes-qt/qt5/qtwayland/0001-tst_seatv4-Include-array.patch
@@ -0,0 +1,30 @@
1From ccd576151ecf174dbfbb854dbcbfe55a5f723124 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 6 Oct 2019 21:44:38 -0700
4Subject: [PATCH] tst_seatv4: Include <array>
5
6build fails with libc++ otherwise
7
8tests/auto/client/seatv4/tst_seatv4.cpp:330:43: error: implicit instantiation of undefined template 'std::__1::array<const char *, 4>'
9
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 tests/auto/client/seatv4/tst_seatv4.cpp | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/tests/auto/client/seatv4/tst_seatv4.cpp b/tests/auto/client/seatv4/tst_seatv4.cpp
16index 7dc2e727..3ddbb971 100644
17--- a/tests/auto/client/seatv4/tst_seatv4.cpp
18+++ b/tests/auto/client/seatv4/tst_seatv4.cpp
19@@ -36,7 +36,7 @@
20 #include <QtWaylandClient/private/qwaylanddisplay_p.h>
21 #include <QtWaylandClient/private/qwaylandintegration_p.h>
22 #endif
23-
24+#include <array>
25 using namespace MockCompositor;
26
27 // wl_seat version 5 was introduced in wayland 1.10, and although that's pretty old,
28--
292.23.0
30