xref: /OK3568_Linux_fs/yocto/meta-qt5/recipes-qt/qt5/qtwayland/0001-tst_seatv4-Include-array.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1From 2f3274c8dac49eeefa1f32b73328fabd037082c6 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
10Upstream-Status: Pending
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 tests/auto/client/seatv4/tst_seatv4.cpp | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/tests/auto/client/seatv4/tst_seatv4.cpp b/tests/auto/client/seatv4/tst_seatv4.cpp
17index 2e17bef8..df78ba69 100644
18--- a/tests/auto/client/seatv4/tst_seatv4.cpp
19+++ b/tests/auto/client/seatv4/tst_seatv4.cpp
20@@ -36,7 +36,7 @@
21 #include <QtWaylandClient/private/qwaylanddisplay_p.h>
22 #include <QtWaylandClient/private/qwaylandintegration_p.h>
23 #endif
24-
25+#include <array>
26 using namespace MockCompositor;
27
28 // wl_seat version 5 was introduced in wayland 1.10, and although that's pretty old,
29