Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Mar 2024 05:59:39 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: e90b0b7ab5e1 - main - x11-wm/gamescope: unbreak build with meson 1.4.0
Message-ID:  <202403150559.42F5xdUK083461@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e90b0b7ab5e1806fdd79939dee3ff0e2accc627a

commit e90b0b7ab5e1806fdd79939dee3ff0e2accc627a
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:46 +0000

    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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403150559.42F5xdUK083461>