1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/x11/hyprcursor
Jan Beich 31130ed441 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
2024-03-18 08:14:52 +01:00
..
files
distinfo x11/hyprcursor: update to 0.1.4 2024-03-12 01:38:24 +01:00
Makefile x11/hyprcursor: unbreak build with libc++ 16 2024-03-18 08:14:52 +01:00
pkg-descr
pkg-plist x11/hyprcursor: simplify plist updates 2024-03-10 04:27:45 +01:00