-
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
Description: add missing <cstdint> includes to fix build with GCC 13 | ||
Author: Dmitry Shachnev <mitya57@debian.org> | ||
Forwarded: https://github.com/mapbox/mapbox-gl-native/pull/16669 | ||
Last-Update: 2023-06-18 | ||
|
||
--- a/qtlocation/src/3rdparty/mapbox-gl-native/include/mbgl/util/geometry.hpp | ||
+++ b/qtlocation/src/3rdparty/mapbox-gl-native/include/mbgl/util/geometry.hpp | ||
@@ -4,6 +4,8 @@ | ||
#include <mapbox/geometry/point_arithmetic.hpp> | ||
#include <mapbox/geometry/for_each_point.hpp> | ||
|
||
+#include <cstdint> | ||
+ | ||
namespace mbgl { | ||
|
||
enum class FeatureType : uint8_t { | ||
--- a/qtlocation/src/3rdparty/mapbox-gl-native/include/mbgl/util/string.hpp | ||
+++ b/qtlocation/src/3rdparty/mapbox-gl-native/include/mbgl/util/string.hpp | ||
@@ -4,6 +4,7 @@ | ||
#include <string> | ||
#include <cassert> | ||
#include <cstdlib> | ||
+#include <cstdint> | ||
#include <exception> | ||
|
||
// Polyfill needed by Qt when building for Android with GCC | ||
--- a/qtlocation/src/3rdparty/mapbox-gl-native/src/mbgl/gl/stencil_mode.hpp | ||
+++ b/qtlocation/src/3rdparty/mapbox-gl-native/src/mbgl/gl/stencil_mode.hpp | ||
@@ -2,6 +2,8 @@ | ||
|
||
#include <mbgl/util/variant.hpp> | ||
|
||
+#include <cstdint> | ||
+ | ||
namespace mbgl { | ||
namespace gl { | ||
|