On Sun Dec 05, 2021 at 02:22:46PM +0100, Christian Weisgerber wrote:
> I ran another amd64 bulk build with base clang updated to LLVM 13
> and --allow-shlib-undefined as the default again (~patrick/llvm.v6).
> I also put in a tentative fix for security/nss.
> 
> Failure logs:
> http://build-failures.rhaalovely.net/amd64-clang/2021-12-04/
> 
> Triage:
> 
> x11/qt5/qtlocation              C++: no member in namespace

Looks simple to fix. std::{forward,move} are define in utility.
https://en.cppreference.com/w/cpp/header/utility

I have no LLVM13 setup here.

diff --git 
a/x11/qt5/qtlocation/patches/patch-src_3rdparty_mapbox-gl-native_include_mbgl_util_unique_any_hpp
 
b/x11/qt5/qtlocation/patches/patch-src_3rdparty_mapbox-gl-native_include_mbgl_util_unique_any_hpp
new file mode 100644
index 00000000000..04d01d6d48a
--- /dev/null
+++ 
b/x11/qt5/qtlocation/patches/patch-src_3rdparty_mapbox-gl-native_include_mbgl_util_unique_any_hpp
@@ -0,0 +1,15 @@
+$OpenBSD$
+
+fix no member named 'forward' and 'move' in namespace 'std'
+
+Index: src/3rdparty/mapbox-gl-native/include/mbgl/util/unique_any.hpp
+--- src/3rdparty/mapbox-gl-native/include/mbgl/util/unique_any.hpp.orig
++++ 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 {
+ 

Reply via email to