Warning, /graphics/krita/3rdparty/ext_boost/0001-Fix-compilation-with-clang-15.patch is written in an unsupported language. File is not indexed.
0001 From 92edc5c8089196c36bc19d09376dc38eca71b3fe Mon Sep 17 00:00:00 2001 0002 From: Dmitry Kazakov <dimula73@gmail.com> 0003 Date: Thu, 16 Feb 2023 14:24:08 +0300 0004 Subject: [PATCH] Fix compilation with clang-15 0005 0006 std::unary_function and std::binary_function are removed from the 0007 standard. 0008 --- 0009 boost/functional.hpp | 2 +- 0010 1 file changed, 1 insertion(+), 1 deletion(-) 0011 0012 diff --git a/boost/functional.hpp b/boost/functional.hpp 0013 index 644307847..27d36710e 100644 0014 --- a/boost/functional.hpp 0015 +++ b/boost/functional.hpp 0016 @@ -21,7 +21,7 @@ namespace boost 0017 namespace functional 0018 { 0019 namespace detail { 0020 -#if defined(_HAS_AUTO_PTR_ETC) && !_HAS_AUTO_PTR_ETC 0021 +#if (defined(_HAS_AUTO_PTR_ETC) && !_HAS_AUTO_PTR_ETC) || defined(BOOST_NO_CXX98_FUNCTION_BASE) 0022 // std::unary_function and std::binary_function were both removed 0023 // in C++17. 0024 0025 -- 0026 2.38.1.windows.1 0027