x11/hyprpaper: unbreak with libc++ 16 after 4285975bf9ca
In file included from src/Hyprpaper.cpp:1:
In file included from src/Hyprpaper.hpp:3:
In file included from src/config/ConfigManager.hpp:2:
In file included from src/config/../defines.hpp:20:
/usr/local/include/hyprutils/math/Vector2D.hpp:141:5: error: no member named 'format_error' in namespace 'std'
AQ_FORMAT_PARSE(AQ_FORMAT_FLAG('j', formatJson) //
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/usr/local/include/hyprutils/math/Vector2D.hpp:110:57: note: expanded from macro 'AQ_FORMAT_PARSE'
switch (*it) { specs__ default : throw std::format_error("invalid format specification"); } \
~~~~~^/usr/local/include/hyprutils/math/Vector2D.hpp:148:68: error: no member named 'format' in namespace 'std'
std::string formatString = precision.empty() ? "{}" : std::format("{{:.{}f}}", precision);
~~~~~^/usr/local/include/hyprutils/math/Vector2D.hpp:151:33: error: no member named 'format' in namespace 'std'
formatString = std::format("[{0}, {0}]", formatString);
~~~~~^/usr/local/include/hyprutils/math/Vector2D.hpp:153:33: error: no member named 'format' in namespace 'std'
formatString = std::format("{0}x{0}", formatString);
~~~~~^/usr/local/include/hyprutils/math/Vector2D.hpp:155:33: error: no member named 'format' in namespace 'std'
formatString = std::format("[Vector2D: x: {0}, y: {0}]", formatString);
~~~~~^/usr/local/include/hyprutils/math/Vector2D.hpp:157:31: error: no member named 'vformat' in namespace 'std'
string buf = std::vformat(formatString, std::make_format_args(vec.x, vec.y));
~~~~~^/usr/local/include/hyprutils/math/Vector2D.hpp:157:58: error: no member named 'make_format_args' in namespace 'std'
string buf = std::vformat(formatString, std::make_format_args(vec.x, vec.y));
~~~~~^/usr/local/include/hyprutils/math/Vector2D.hpp:158:25: error: no member named 'format_to' in namespace 'std'
return std::format_to(ctx.out(), "{}", buf);
~~~~~^/usr/local/include/hyprutils/math/Vector2D.hpp:159:23: error: no type named 'format_error' in namespace 'std'; did you mean 'domain_error'?
} catch (std::format_error& e) { return std::format_to(ctx.out(), "[{}, {}]", vec.x, vec.y); }
~~~~~^/usr/include/c++/v1/stdexcept:123:29: note: 'domain_error' declared here
class _LIBCPP_EXCEPTION_ABI domain_error
^
In file included from src/Hyprpaper.cpp:1:
In file included from src/Hyprpaper.hpp:3:
In file included from src/config/ConfigManager.hpp:2:
In file included from src/config/../defines.hpp:20:
/usr/local/include/hyprutils/math/Vector2D.hpp:159:54: error: no member named 'format_to' in namespace 'std'
} catch (std::format_error& e) { return std::format_to(ctx.out(), "[{}, {}]", vec.x, vec.y); }
~~~~~^Reported by: pkg-fallout