HomeFreeBSD

x11/hyprcursor: unbreak build with libc++ 16

Description

x11/hyprcursor: unbreak build with libc++ 16

In file included from libhyprcursor/hyprcursor.cpp:12:
./libhyprcursor/Log.hpp:51:27: error: no member named 'vformat' in namespace 'std'

std::cout << std::vformat(fmt, std::make_format_args(args...)) << "\n";
             ~~~~~^

./libhyprcursor/Log.hpp:51:45: error: no member named 'make_format_args' in namespace 'std'

std::cout << std::vformat(fmt, std::make_format_args(args...)) << "\n";
                               ~~~~~^

hyprcursor-util/src/main.cpp:345:41: error: no member named 'format' in namespace 'std'

const auto OUT = spawnSync(std::format("rm -f /tmp/hyprcursor-util/* && cd /tmp/hyprcursor-util && xcur2png {} -d /tmp/hyprcursor-util 2>&1",
                           ~~~~~^

hyprcursor-util/src/main.cpp:399:39: error: no member named 'format' in namespace 'std'

std::string metaString = std::format("resize_algorithm = {}\n", explicitResizeAlgo == RESIZE_INVALID ? "none" : algoToString(explicitResizeAlgo));
                         ~~~~~^

hyprcursor-util/src/main.cpp:403:18: error: no member named 'format' in namespace 'std'

std::format("hotspot_x = {:.2f}\nhotspot_y = {:.2f}\n\n", (float)entries[0].hotspotX / (float)entries[0].size, (float)entries[0].hotspotY / (float)entries[0].size);
~~~~~^

hyprcursor-util/src/main.cpp:409:32: error: no member named 'format' in namespace 'std'

metaString += std::format("define_size = {}, {}, {}\n", entry.size, ENTRYSTEM, entry.delay);
              ~~~~~^

hyprcursor-util/src/main.cpp:424:32: error: no member named 'format' in namespace 'std'

metaString += std::format("define_override = {}\n", xcursor2.path().stem().string());
              ~~~~~^

Reported by: pkg-fallout

Details

Provenance
jbeichAuthored on Mar 17 2024, 11:34 PM
Parents
R11:99d76a4ec379: sysutils/tracker3: chase man -> share/man transition
Branches
Unknown
Tags
Unknown