From nobody Fri Feb 03 09:08:38 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4P7VFM1mL5z2nNCH; Fri, 3 Feb 2023 09:08:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P7VFM1CBbz3DbB; Fri, 3 Feb 2023 09:08:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675415319; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1GqfNdsp4Afd0m/4tIVsBI1yRzbbEXlEu0H8SaoSXgk=; b=C2CBgk+pHWfO38dDHkUG/EB7PwykRpudCOHyd37vURGFL8Koo8tkzCgbEzZE7rE1uXNIcb uQo3CIpYZyGS1inufpGEcM+4HKh0bLN4bXselpBbmx8vMEIRZlgUmF69g81Bv8VKQes0np SG5VdZU+IzR94xobfXqWL3Pdo86AqD/b2iTEtp5UQIYLl4EaeB/WdukRw9pqS/kDD/RZDX KfJ5MNSQMVQXkNz7wnGaHTMTu6EQxGpzGfehBGK0wul9jkNpaBVi4YXxIAP/Y2dJSCTEUB 9Q2PwYwy03vmPXWfbIsoAJWB9s2ojCD6Cfhzav8vzjR1NOeRz+dr4c1a0XrTaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675415319; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1GqfNdsp4Afd0m/4tIVsBI1yRzbbEXlEu0H8SaoSXgk=; b=kIDwT61WYmc+Dd+e+uqQ2hrtqtkSJJNZ+7NvLJyKBm0nXIE4CS11NkLRbxmYT8n+cRYUbI 4r+NIQMyqXr575hgN0tjvrqMyPuriQaaSIqRHghQEBdhfwR5/8+suXdSf2koqGIJa1iotp OBUwpbdjMt8cVtoBOC6pOkpKXtDJ+lTsz8SyUuvtgf+MLIO/xUNedzzmnodhyGyxHrvhc2 0SjKgYdVCme4iyMAHu1xX9QKUODt9949pLk0pLha6rCATL7R8pIjnI52U7nSlleHTdvgb9 GJO+NuE4PU+fm7ko3LoJHrepYQE8OExH46LUuKkRSV/WzkN4ddhVBqEX3bFBeg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675415319; a=rsa-sha256; cv=none; b=SIFfasRrrOR0CDsYmqq/d4wHgKixm6FlfixSsZTrM84GkFTyAZZybmG33Xk7UcYZDrU/bD XI95yiKb7nA49wb6Vl7mWWbWrkooCnqHnQSO9mHngItiUKomJD5FWxLgMRRUgwliJ3IcSR LsbBquEpruUvpG2Z2vjVmSQVzdWFX099Q191yq7v5va9m4q3/vk1Uo0LY7g5jGT0RsEgbr D7U+kqfZz4/dQZFUvkUY7mdgKtrOqgUGA88FdvqzegoeO8YxwexeVRiS7opcXHu1P5rmHo eILgfphYW4LkaX8Hn65pgn76boQxjlk7dFmpFrXWrj0Nr8BHvwBKjr3AhcV7aQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4P7VFM0FpWzTr2; Fri, 3 Feb 2023 09:08:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 31398cTx045635; Fri, 3 Feb 2023 09:08:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31398ciG045634; Fri, 3 Feb 2023 09:08:38 GMT (envelope-from git) Date: Fri, 3 Feb 2023 09:08:38 GMT Message-Id: <202302030908.31398ciG045634@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: 2fc8b719ca85 - main - x11-wm/hyprland: unbreak build with GCC after 33b9f9f8c931 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2fc8b719ca85b61981f9c0ebd8139220bd5a1ed6 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=2fc8b719ca85b61981f9c0ebd8139220bd5a1ed6 commit 2fc8b719ca85b61981f9c0ebd8139220bd5a1ed6 Author: Jan Beich AuthorDate: 2023-02-02 10:00:31 +0000 Commit: Jan Beich 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 >::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 >::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 >::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