qt5-qtlocation/qtlocation-gcc10.patch
pei-jiankang 4840f010d1 update to upstream version 5.15.2
(cherry picked from commit 157c009212a105077c30d1d05f306f8a571ea612)
2022-01-17 14:58:22 +08:00

23 lines
765 B
Diff

diff --git a/src/3rdparty/mapbox-gl-native/platform/qt/src/bidi.cpp b/src/3rdparty/mapbox-gl-native/platform/qt/src/bidi.cpp
index b75d038..b367ee6 100644
--- a/src/3rdparty/mapbox-gl-native/platform/qt/src/bidi.cpp
+++ b/src/3rdparty/mapbox-gl-native/platform/qt/src/bidi.cpp
@@ -3,6 +3,7 @@
#include <mbgl/text/bidi.hpp>
#include <QString>
+#include <stdexcept>
namespace mbgl {
diff --git a/src/3rdparty/mapbox-gl-native/src/mbgl/util/convert.cpp b/src/3rdparty/mapbox-gl-native/src/mbgl/util/convert.cpp
index 510ff23..d5e0a92 100644
--- a/src/3rdparty/mapbox-gl-native/src/mbgl/util/convert.cpp
+++ b/src/3rdparty/mapbox-gl-native/src/mbgl/util/convert.cpp
@@ -1,4 +1,5 @@
#include <mbgl/util/convert.hpp>
+#include <cstdint>
#include <cstdint>