Date: Fri, 3 Feb 2023 09:08:38 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: 2fc8b719ca85 - main - x11-wm/hyprland: unbreak build with GCC after 33b9f9f8c931 Message-ID: <202302030908.31398ciG045634@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=2fc8b719ca85b61981f9c0ebd8139220bd5a1ed6 commit 2fc8b719ca85b61981f9c0ebd8139220bd5a1ed6 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2023-02-02 10:00:31 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2023-02-03 09:08:09 +0000 x11-wm/hyprland: unbreak build with GCC after 33b9f9f8c931 FAILED: src/Hyprland /usr/local/bin/ld: src/Hyprland.p/managers_ThreadManager.cpp.o: in function `std::__1::basic_filebuf<char, std::__1::char_traits<char> >::overflow(int)': ThreadManager.cpp:(.text._ZNSt3__113basic_filebufIcNS_11char_traitsIcEEE8overflowEi[_ZNSt3__113basic_filebufIcNS_11char_traitsIcEEE8overflowEi]+0x2e4): undefined reference to `std::bad_cast::bad_cast()' /usr/local/bin/ld: src/Hyprland.p/managers_ThreadManager.cpp.o: in function `std::__1::basic_filebuf<char, std::__1::char_traits<char> >::sync()': ThreadManager.cpp:(.text._ZNSt3__113basic_filebufIcNS_11char_traitsIcEEE4syncEv[_ZNSt3__113basic_filebufIcNS_11char_traitsIcEEE4syncEv]+0x306): undefined reference to `std::bad_cast::bad_cast()' /usr/local/bin/ld: src/Hyprland.p/managers_ThreadManager.cpp.o: in function `std::__1::basic_filebuf<char, std::__1::char_traits<char> >::seekoff(long long, std::__1::ios_base::seekdir, unsigned int)': ThreadManager.cpp:(.text._ZNSt3__113basic_filebufIcNS_11char_traitsIcEEE7seekoffExNS_8ios_base7seekdirEj[_ZNSt3__113basic_filebufIcNS_11char_traitsIcEEE7seekoffExNS_8ios_base7seekdirEj]+0x166): undefined reference to `std::bad_cast::bad_cast()' [...] --- x11-wm/hyprland/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/x11-wm/hyprland/Makefile b/x11-wm/hyprland/Makefile index dbdda4dfebad..e6e2aa6cb40f 100644 --- a/x11-wm/hyprland/Makefile +++ b/x11-wm/hyprland/Makefile @@ -58,6 +58,7 @@ post-install: .endif # XXX Drop after FreeBSD 13.2 EOL around 2024-05-01 (don't forget distinfo) +.if ${CXX} == c++ && exists(/usr/lib/libc++.so) .if !exists(/usr/include/c++/v1/__ranges/as_rvalue_view.h) || make(makesum) || make(fetch) . if exists(/usr/include/c++/v1/__algorithm/ranges_all_of.h) && !make(makesum) && !make(fetch) CXXFLAGS+= -fexperimental-library # std::ranges::all_of @@ -86,5 +87,6 @@ bundled-libcxx: @${DO_MAKE_BUILD:NDESTDIR*} install -C ${WRKDIR}/libcxx_build . endif .endif +.endif # exists(/usr/lib/libc++.so) .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302030908.31398ciG045634>