From e90b0b7ab5e1806fdd79939dee3ff0e2accc627a Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Fri, 15 Mar 2024 02:35:40 +0100 Subject: [PATCH] x11-wm/gamescope: unbreak build with meson 1.4.0 ld: error: undefined symbol: std::__1::__libcpp_verbose_abort(char const*, ...) >>> referenced by VkLayer_FROG_gamescope_wsi.cpp >>> layer/libVkLayer_FROG_gamescope_wsi_x86_64.so.p/VkLayer_FROG_gamescope_wsi.cpp.o:(GamescopeWSILayer::VkInstanceOverrides::$_0::__invoke(void*, wl_registry*, unsigned int, char const*, unsigned int)) >>> referenced by VkLayer_FROG_gamescope_wsi.cpp >>> layer/libVkLayer_FROG_gamescope_wsi_x86_64.so.p/VkLayer_FROG_gamescope_wsi.cpp.o:(GamescopeWSILayer::$_2::__invoke(void*, gamescope_swapchain*, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int)) >>> referenced by VkLayer_FROG_gamescope_wsi.cpp >>> layer/libVkLayer_FROG_gamescope_wsi_x86_64.so.p/VkLayer_FROG_gamescope_wsi.cpp.o:(GamescopeWSILayer::$_2::__invoke(void*, gamescope_swapchain*, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int)) >>> referenced 13 more times PR: 277354 Reported by: antoine (via exp-run) Regressed by: https://github.com/mesonbuild/meson/commit/90098473d51e --- x11-wm/gamescope/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/x11-wm/gamescope/Makefile b/x11-wm/gamescope/Makefile index 03ae6444bce6..d2a413b1d1c0 100644 --- a/x11-wm/gamescope/Makefile +++ b/x11-wm/gamescope/Makefile @@ -89,6 +89,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