gentoo-ebuilds/sci-libs/rocThrust/files/rocThrust-6.3.0-fix-libcxx.patch
Sv. Lockal 86f35948f6
sci-libs/rocThrust: fix compilation with libc++
_VSTD macro was removed from libcxx.
Backport one line from commit: bc24ef2613

Signed-off-by: Sv. Lockal <lockalsash@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/40075
Signed-off-by: Sam James <sam@gentoo.org>
2025-01-10 00:29:20 +00:00

13 lines
479 B
Diff

_VSTD macro was removed from libcxx
Upstream commit: https://github.com/ROCm/rocThrust/commit/bc24ef2613e282d57d96dcf4263e2fa2cab171e4
--- a/thrust/type_traits/is_contiguous_iterator.h
+++ b/thrust/type_traits/is_contiguous_iterator.h
@@ -139,7 +139,7 @@ struct is_libcxx_wrap_iter : false_type {};
#if defined(_LIBCPP_VERSION)
template <typename Iterator>
struct is_libcxx_wrap_iter<
- _VSTD::__wrap_iter<Iterator>
+ std::__wrap_iter<Iterator>
> : true_type {};
#endif