Rafael Sadowski:

> > 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.

Yes, that fixes the build.  ok naddy@

> 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 {
> + 

-- 
Christian "naddy" Weisgerber                          na...@mips.inka.de

Reply via email to