aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qtwayland/0001-tst_seatv4-Include-array.patch
blob: 1f15ea0dfd3d39415afe48f79fe69989c4699a20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From ccd576151ecf174dbfbb854dbcbfe55a5f723124 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Sun, 6 Oct 2019 21:44:38 -0700
Subject: [PATCH] tst_seatv4: Include <array>

build fails with libc++ otherwise

tests/auto/client/seatv4/tst_seatv4.cpp:330:43: error: implicit instantiation of undefined template 'std::__1::array<const char *, 4>'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 tests/auto/client/seatv4/tst_seatv4.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/auto/client/seatv4/tst_seatv4.cpp b/tests/auto/client/seatv4/tst_seatv4.cpp
index 7dc2e727..3ddbb971 100644
--- a/tests/auto/client/seatv4/tst_seatv4.cpp
+++ b/tests/auto/client/seatv4/tst_seatv4.cpp
@@ -36,7 +36,7 @@
 #include <QtWaylandClient/private/qwaylanddisplay_p.h>
 #include <QtWaylandClient/private/qwaylandintegration_p.h>
 #endif
-
+#include <array>
 using namespace MockCompositor;
 
 // wl_seat version 5 was introduced in wayland 1.10, and although that's pretty old,
-- 
2.23.0