summaryrefslogtreecommitdiff
path: root/qtlocation-gcc10.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-11-01 10:21:28 +0000
committerCoprDistGit <infra@openeuler.org>2024-11-01 10:21:28 +0000
commit26bf0d79c797a0d406c5545dd24f4e973a11c566 (patch)
tree6513491c8c54708d5872cca0cbc03aa56add4789 /qtlocation-gcc10.patch
parent65a9b51b1ec627c31c4adcbefffc42c2da4a4580 (diff)
automatic import of qt5-qtlocationopeneuler24.03_LTS
Diffstat (limited to 'qtlocation-gcc10.patch')
-rw-r--r--qtlocation-gcc10.patch44
1 files changed, 44 insertions, 0 deletions
diff --git a/qtlocation-gcc10.patch b/qtlocation-gcc10.patch
new file mode 100644
index 0000000..fdb96e6
--- /dev/null
+++ b/qtlocation-gcc10.patch
@@ -0,0 +1,44 @@
+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 -up qtlocation-everywhere-src-5.15.8/src/3rdparty/mapbox-gl-native/include/mbgl/util/geometry.hpp.me qtlocation-everywhere-src-5.15.8/src/3rdparty/mapbox-gl-native/include/mbgl/util/geometry.hpp
+--- qtlocation-everywhere-src-5.15.8/src/3rdparty/mapbox-gl-native/include/mbgl/util/geometry.hpp.me 2023-02-20 14:49:09.397384737 +0100
++++ qtlocation-everywhere-src-5.15.8/src/3rdparty/mapbox-gl-native/include/mbgl/util/geometry.hpp 2023-02-20 14:50:09.654502801 +0100
+@@ -1,5 +1,7 @@
+ #pragma once
+
++#include <cstdint>
++
+ #include <mapbox/geometry/geometry.hpp>
+ #include <mapbox/geometry/point_arithmetic.hpp>
+ #include <mapbox/geometry/for_each_point.hpp>
+diff -up qtlocation-everywhere-src-5.15.8/src/3rdparty/mapbox-gl-native/include/mbgl/util/string.hpp.me1 qtlocation-everywhere-src-5.15.8/src/3rdparty/mapbox-gl-native/include/mbgl/util/string.hpp
+--- qtlocation-everywhere-src-5.15.8/src/3rdparty/mapbox-gl-native/include/mbgl/util/string.hpp.me1 2023-02-20 15:00:23.967862291 +0100
++++ qtlocation-everywhere-src-5.15.8/src/3rdparty/mapbox-gl-native/include/mbgl/util/string.hpp 2023-02-20 15:00:41.398058051 +0100
+@@ -4,6 +4,7 @@
+ #include <string>
+ #include <cassert>
+ #include <cstdlib>
++#include <cstdint>
+ #include <exception>
+
+ // Polyfill needed by Qt when building for Android with GCC
+diff -up qtlocation-everywhere-src-5.15.8/src/3rdparty/mapbox-gl-native/src/mbgl/gl/stencil_mode.hpp.me qtlocation-everywhere-src-5.15.8/src/3rdparty/mapbox-gl-native/src/mbgl/gl/stencil_mode.hpp
+--- qtlocation-everywhere-src-5.15.8/src/3rdparty/mapbox-gl-native/src/mbgl/gl/stencil_mode.hpp.me 2023-02-20 15:12:32.276042434 +0100
++++ qtlocation-everywhere-src-5.15.8/src/3rdparty/mapbox-gl-native/src/mbgl/gl/stencil_mode.hpp 2023-02-20 15:12:58.578501426 +0100
+@@ -1,5 +1,6 @@
+ #pragma once
+
++#include <cstdint>
+ #include <mbgl/util/variant.hpp>
+
+ namespace mbgl {