diff -Nru qtlocation-opensource-src-5.15.10+dfsg/debian/changelog qtlocation-opensource-src-5.15.10+dfsg/debian/changelog --- qtlocation-opensource-src-5.15.10+dfsg/debian/changelog 2023-06-10 18:48:07.000000000 +0000 +++ qtlocation-opensource-src-5.15.10+dfsg/debian/changelog 2023-07-08 07:09:49.000000000 +0000 @@ -1,3 +1,10 @@ +qtlocation-opensource-src (5.15.10+dfsg-2) unstable; urgency=medium + + * Add a patch to add missing includes for GCC 13 (closes: #1037830). + * Upload to unstable. + + -- Dmitry Shachnev Sat, 08 Jul 2023 10:09:49 +0300 + qtlocation-opensource-src (5.15.10+dfsg-1) experimental; urgency=medium * New upstream release. diff -Nru qtlocation-opensource-src-5.15.10+dfsg/debian/patches/gcc_13.diff qtlocation-opensource-src-5.15.10+dfsg/debian/patches/gcc_13.diff --- qtlocation-opensource-src-5.15.10+dfsg/debian/patches/gcc_13.diff 1970-01-01 00:00:00.000000000 +0000 +++ qtlocation-opensource-src-5.15.10+dfsg/debian/patches/gcc_13.diff 2023-07-08 07:09:49.000000000 +0000 @@ -0,0 +1,37 @@ +Description: add missing includes to fix build with GCC 13 +Author: Dmitry Shachnev +Forwarded: https://github.com/mapbox/mapbox-gl-native/pull/16669 +Last-Update: 2023-06-18 + +--- a/src/3rdparty/mapbox-gl-native/include/mbgl/util/geometry.hpp ++++ b/src/3rdparty/mapbox-gl-native/include/mbgl/util/geometry.hpp +@@ -4,6 +4,8 @@ + #include + #include + ++#include ++ + namespace mbgl { + + enum class FeatureType : uint8_t { +--- a/src/3rdparty/mapbox-gl-native/include/mbgl/util/string.hpp ++++ b/src/3rdparty/mapbox-gl-native/include/mbgl/util/string.hpp +@@ -4,6 +4,7 @@ + #include + #include + #include ++#include + #include + + // Polyfill needed by Qt when building for Android with GCC +--- a/src/3rdparty/mapbox-gl-native/src/mbgl/gl/stencil_mode.hpp ++++ b/src/3rdparty/mapbox-gl-native/src/mbgl/gl/stencil_mode.hpp +@@ -2,6 +2,8 @@ + + #include + ++#include ++ + namespace mbgl { + namespace gl { + diff -Nru qtlocation-opensource-src-5.15.10+dfsg/debian/patches/series qtlocation-opensource-src-5.15.10+dfsg/debian/patches/series --- qtlocation-opensource-src-5.15.10+dfsg/debian/patches/series 2023-06-10 18:48:07.000000000 +0000 +++ qtlocation-opensource-src-5.15.10+dfsg/debian/patches/series 2023-07-08 07:09:49.000000000 +0000 @@ -1,3 +1,4 @@ use_system_dependencies.diff hurd_geoclue.diff mapboxgl_thread_portability.diff +gcc_13.diff