Skip to content

Commit

Permalink
x11/hypridle: unbreak build with libc++ 16
Browse files Browse the repository at this point in the history
In file included from src/config/ConfigManager.cpp:1:
In file included from src/config/ConfigManager.hpp:3:
src/config/../helpers/Log.hpp:56:27: error: no member named 'vformat' in namespace 'std'
        std::cout << std::vformat(fmt, std::make_format_args(args...)) << "\n";
                     ~~~~~^
src/config/../helpers/Log.hpp:56:45: error: no member named 'make_format_args' in namespace 'std'
        std::cout << std::vformat(fmt, std::make_format_args(args...)) << "\n";
                                       ~~~~~^

Reported by:	pkg-fallout
  • Loading branch information
jbeich committed Feb 27, 2024
1 parent f755375 commit 1947e3c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions x11/hypridle/Makefile
Expand Up @@ -25,6 +25,12 @@ GH_ACCOUNT= hyprwm
LDFLAGS+= -Wl,--as-needed # sdbus-cpp deps
PLIST_FILES= bin/${PORTNAME}

# XXX Drop after FreeBSD 14.0 EOL around 2025-03-01
.if exists(/usr/include/c++/v1/__format/format_functions.h) && \
!exists(/usr/include/c++/v1/__format/write_escaped.h)
CXXFLAGS+= -fexperimental-library
.endif

post-patch:
# https://github.com/ConsoleKit2/ConsoleKit2/issues/150
# https://github.com/ConsoleKit2/ConsoleKit2/issues/151
Expand Down

0 comments on commit 1947e3c

Please sign in to comment.