fix mapbox-gl-native build with GCC 10
authorDebian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Wed, 24 Jun 2020 08:54:14 +0000 (09:54 +0100)
committerDmitry Shachnev <mitya57@debian.org>
Wed, 24 Jun 2020 08:54:14 +0000 (09:54 +0100)
Origin: upstream, commits
 https://github.com/mapbox/mapbox-gl-native/commit/0853378b2f2de82c
 https://github.com/mapbox/mapbox-gl-native/commit/d7e368c42f2ac797
Last-Update: 2020-04-27

Gbp-Pq: Name gcc10.diff

src/3rdparty/mapbox-gl-native/platform/default/bidi.cpp
src/3rdparty/mapbox-gl-native/src/mbgl/renderer/sources/render_vector_source.cpp
src/3rdparty/mapbox-gl-native/src/mbgl/util/convert.cpp

index d475c387b3c9cf16f338b1dcdf3cda2cdc999247..c1710a6f16b3be59bc9e42704f24b5ed2b1c6109 100644 (file)
@@ -5,6 +5,7 @@
 #include <unicode/ushape.h>
 
 #include <memory>
+#include <stdexcept>
 
 namespace mbgl {
 
index 4de4f01e3fec8133782d7cf0c8f39341aaf882fb..2eca8f7752e18270d1715160e765892376775fe5 100644 (file)
@@ -1,6 +1,7 @@
 #include <mbgl/renderer/sources/render_vector_source.hpp>
 #include <mbgl/renderer/render_tile.hpp>
 #include <mbgl/renderer/paint_parameters.hpp>
+#include <mbgl/tile/tile_loader_impl.hpp>
 #include <mbgl/tile/vector_tile.hpp>
 
 #include <mbgl/algorithm/generate_clip_ids.hpp>
index 97bfe9108dbe528b9be78d9b106f796f63a08ac5..510ff238665135217fec175d8ca8915f2c90f008 100644 (file)
@@ -1,5 +1,7 @@
 #include <mbgl/util/convert.hpp>
 
+#include <cstdint>
+
 namespace mbgl {
 namespace util {