git: 70865d7c02af - main - x11-wm/hyprland: unbreak build with meson 1.4.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 15 Mar 2024 05:59:41 UTC
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=70865d7c02af2e8ce918b9b2d8b8d3e9bd3b3c40
commit 70865d7c02af2e8ce918b9b2d8b8d3e9bd3b3c40
Author: Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-03-15 01:35:40 +0000
Commit: Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-03-15 05:54:47 +0000
x11-wm/hyprland: unbreak build with meson 1.4.0
ld: error: undefined symbol: std::__1::__libcpp_verbose_abort(char const*, ...)
>>> referenced by main.cpp
>>> hyprctl/hyprctl.p/main.cpp.o:(instances())
>>> referenced by main.cpp
>>> hyprctl/hyprctl.p/main.cpp.o:(instances())
>>> referenced by main.cpp
>>> hyprctl/hyprctl.p/main.cpp.o:(instances())
>>> referenced 145 more times
PR: 277354
Reported by: antoine (via exp-run)
Regressed by: https://github.com/mesonbuild/meson/commit/90098473d51e
---
x11-wm/hyprland/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/x11-wm/hyprland/Makefile b/x11-wm/hyprland/Makefile
index 1b48291d3a27..f67603d9f50f 100644
--- a/x11-wm/hyprland/Makefile
+++ b/x11-wm/hyprland/Makefile
@@ -104,6 +104,7 @@ CMAKE_BIN= ${LOCALBASE}/bin/cmake
GH_TUPLE+= llvm:llvm-project:llvmorg-16.0.1:libcxx
CXXFLAGS+= -nostdinc++ -isystem${WRKDIR}/libcxx_prefix/include/c++/v1
# Don't link against new libc++ as it's not necessary
+CXXFLAGS+= -D_LIBCPP_HAS_NO_VERBOSE_ABORT_IN_LIBRARY
#LDFLAGS+= -nostdlib++ -L${WRKDIR}/libcxx_prefix/lib -l:libc++.a -lcxxrt
pre-configure: bundled-libcxx