wok-current view qt5/stuff/qtlocation-5.14.2-gcc-10.patch @ rev 25788

Mass update to fix build with gcc10 and up others packages
author Stanislas Leduc <shann@slitaz.org>
date Tue Sep 30 07:43:04 2025 +0000 (3 weeks ago)
parents
children
line source
1 From 0853378b2f2de82c59501e31d18906694ec6e27e Mon Sep 17 00:00:00 2001
2 From: Bruno de Oliveira Abinader <bruno@mapbox.com>
3 Date: Wed, 22 Apr 2020 19:54:53 +0300
4 Subject: Fix compilation issues on GCC 9
6 ---
7 platform/default/bidi.cpp | 1 +
8 src/mbgl/util/convert.cpp | 2 ++
9 2 files changed, 3 insertions(+)
11 diff --git a/qtlocation/src/3rdparty/mapbox-gl-native/platform/default/bidi.cpp b/qtlocation/src/3rdparty/mapbox-gl-native/platform/default/bidi.cpp
12 index d475c387b..c1710a6f1 100644
13 --- a/qtlocation/src/3rdparty/mapbox-gl-native/platform/default/bidi.cpp
14 +++ b/qtlocation/src/3rdparty/mapbox-gl-native/platform/default/bidi.cpp
15 @@ -5,6 +5,7 @@
16 #include <unicode/ushape.h>
18 #include <memory>
19 +#include <stdexcept>
21 namespace mbgl {
23 diff --git a/qtlocation/src/3rdparty/mapbox-gl-native/src/mbgl/util/convert.cpp b/qtlocation/src/3rdparty/mapbox-gl-native/src/mbgl/util/convert.cpp
24 index 97bfe9108..510ff2386 100644
25 --- a/qtlocation/src/3rdparty/mapbox-gl-native/src/mbgl/util/convert.cpp
26 +++ b/qtlocation/src/3rdparty/mapbox-gl-native/src/mbgl/util/convert.cpp
27 @@ -1,5 +1,7 @@
28 #include <mbgl/util/convert.hpp>
30 +#include <cstdint>
31 +
32 namespace mbgl {
33 namespace util {
35 --
36 cgit v1.2.1