summaryrefslogtreecommitdiff
path: root/dev-qt/qtlocation/files/qtlocation-5.15.8-mapboxgl-missing-include.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-qt/qtlocation/files/qtlocation-5.15.8-mapboxgl-missing-include.patch')
-rw-r--r--dev-qt/qtlocation/files/qtlocation-5.15.8-mapboxgl-missing-include.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-qt/qtlocation/files/qtlocation-5.15.8-mapboxgl-missing-include.patch b/dev-qt/qtlocation/files/qtlocation-5.15.8-mapboxgl-missing-include.patch
new file mode 100644
index 000000000000..9dabca5aa231
--- /dev/null
+++ b/dev-qt/qtlocation/files/qtlocation-5.15.8-mapboxgl-missing-include.patch
@@ -0,0 +1,26 @@
+From 5a07e1967dcc925d9def47accadae991436b9686 Mon Sep 17 00:00:00 2001
+From: Manuel Nickschas <sputnick@quassel-irc.org>
+Date: Tue, 11 Apr 2023 22:24:11 +0200
+Subject: [PATCH] Add missing include
+
+Fixes build with libcxx, see also:
+https://bugs.gentoo.org/903575
+---
+ include/mbgl/util/unique_any.hpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/3rdparty/mapbox-gl-native/include/mbgl/util/unique_any.hpp b/src/3rdparty/mapbox-gl-native/include/mbgl/util/unique_any.hpp
+index c7dc8b38ea..0fb25b8b4a 100644
+--- a/src/3rdparty/mapbox-gl-native/include/mbgl/util/unique_any.hpp
++++ b/src/3rdparty/mapbox-gl-native/include/mbgl/util/unique_any.hpp
+@@ -3,6 +3,7 @@
+ #include <typeinfo>
+ #include <type_traits>
+ #include <stdexcept>
++#include <utility>
+ namespace mbgl {
+ namespace util {
+
+--
+GitLab
+