From nobody Sat Aug 17 04:32:02 2024 X-Original-To: dev-commits-ports-all@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 4Wm5YG4MZMz5SBcl; Sat, 17 Aug 2024 04:32:02 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wm5YG2z3bz4vrr; Sat, 17 Aug 2024 04:32:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723869122; 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=k80g5O0lcYZWKZz1npFmiFA45UsapGHzeRrvXahVuwE=; b=QJREwwSPVEBp/zIWM2Qgnxu9pwv/74WVhDCZ5vT93JbFwxxs/3bfkJ2Hj71fG6vAE0ftwK KOUOtlfqJzvF3kt+jKbrUIkDk1aUZ0I6z5lTe6pPAMW43Aea6VUGN+D9l9XgMgi8QD/Z7O L1c7qi3bPjRIvyWeH/pT406Fy+8HMCOXBd02OH0SrZ1mlvWxmLdUqgEUbix5utQyo/4XRY prIdwCGaPMk/lhVUFdIym3z0t262cPrQGL4c/VF9pHsQhlikx0C+hgSjbAjZ1FHyyHxKBy AOoXPCOuTtec04VTBz2a4e63s0DGN9oaYyETzoPuhO7Dzxcd+kPg9AWqlu7iTQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723869122; a=rsa-sha256; cv=none; b=wmzPC0rOAz3oj9fHABUrhczMEbmzD4dZ++o9YSm0r9MQ3LKWMyIjKhrf66AGRG3GC9ol5X 5SU+AnyZIsc9i9t7/20OnJO80XvOl5489u+maHd+2xvZR25ZRbSd8JLsjkpCa+a0S78qLA p6TxGPI+XyqTF90CZd62mnijaKW0auLgfLu/cJ/W5bjE2xl87LZI//qJ7ry+myoZDyNbbg aL9jWl0oBDSBlponR4EQ+g5I8XAzmTnpjKOEgPq1crd5aNC2B8eKpzut/1VkRNqOJ/ZH2z VEEmpqMkqk90COqB9+YVrko8e7CpJz/VG4AIsZLYB3n8+zHdARRcI2pxlSxprQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723869122; 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=k80g5O0lcYZWKZz1npFmiFA45UsapGHzeRrvXahVuwE=; b=Ib6cAlyha9LvwybcEsXK/CBMQBzNRgjVT/R/ISfMOC0J0UWmEq+N9AxVZit6IRr4GqJ0/s TsYTFzI68AO/m5aLq17tw6UEyCeJHcitjQ5V0eTlZC280bsjiuN3zpDc4jMJ/C7LPzDGFb NzqCmcKkqOkhHxQQiyna9TKqeb6VDknM1L/mBObfvYXJEZ0QzMIWnAakDd/pKlZ6Vt3rHh E7/0nwEP+D9BdOaKdMTU/FTtBtjwPQjNleb0xkoh4r5xVGIM4CTh/CbjC20obJ7oNnYreI 8GmzjNmHGq8O6r4ZYgYGFv+v+4YFu/Oks85b7NzgCFahiIdMtfRO0KAPipCGhg== 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 4Wm5YG2LWyzbx6; Sat, 17 Aug 2024 04:32:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 47H4W25T002091; Sat, 17 Aug 2024 04:32:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47H4W2UQ002088; Sat, 17 Aug 2024 04:32:02 GMT (envelope-from git) Date: Sat, 17 Aug 2024 04:32:02 GMT Message-Id: <202408170432.47H4W2UQ002088@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: 8ad8a0c61416 - main - x11/hyprpaper: unbreak with libc++ 16 after 4285975bf9ca List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@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: 8ad8a0c61416b79e4cfeccb4253be7c73e018f0e Auto-Submitted: auto-generated The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=8ad8a0c61416b79e4cfeccb4253be7c73e018f0e commit 8ad8a0c61416b79e4cfeccb4253be7c73e018f0e Author: Jan Beich AuthorDate: 2024-08-17 04:30:19 +0000 Commit: Jan Beich CommitDate: 2024-08-17 04:31:45 +0000 x11/hyprpaper: unbreak with libc++ 16 after 4285975bf9ca In file included from src/Hyprpaper.cpp:1: In file included from src/Hyprpaper.hpp:3: In file included from src/config/ConfigManager.hpp:2: In file included from src/config/../defines.hpp:20: /usr/local/include/hyprutils/math/Vector2D.hpp:141:5: error: no member named 'format_error' in namespace 'std' AQ_FORMAT_PARSE(AQ_FORMAT_FLAG('j', formatJson) // ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/hyprutils/math/Vector2D.hpp:110:57: note: expanded from macro 'AQ_FORMAT_PARSE' switch (*it) { specs__ default : throw std::format_error("invalid format specification"); } \ ~~~~~^ /usr/local/include/hyprutils/math/Vector2D.hpp:148:68: error: no member named 'format' in namespace 'std' std::string formatString = precision.empty() ? "{}" : std::format("{{:.{}f}}", precision); ~~~~~^ /usr/local/include/hyprutils/math/Vector2D.hpp:151:33: error: no member named 'format' in namespace 'std' formatString = std::format("[{0}, {0}]", formatString); ~~~~~^ /usr/local/include/hyprutils/math/Vector2D.hpp:153:33: error: no member named 'format' in namespace 'std' formatString = std::format("{0}x{0}", formatString); ~~~~~^ /usr/local/include/hyprutils/math/Vector2D.hpp:155:33: error: no member named 'format' in namespace 'std' formatString = std::format("[Vector2D: x: {0}, y: {0}]", formatString); ~~~~~^ /usr/local/include/hyprutils/math/Vector2D.hpp:157:31: error: no member named 'vformat' in namespace 'std' string buf = std::vformat(formatString, std::make_format_args(vec.x, vec.y)); ~~~~~^ /usr/local/include/hyprutils/math/Vector2D.hpp:157:58: error: no member named 'make_format_args' in namespace 'std' string buf = std::vformat(formatString, std::make_format_args(vec.x, vec.y)); ~~~~~^ /usr/local/include/hyprutils/math/Vector2D.hpp:158:25: error: no member named 'format_to' in namespace 'std' return std::format_to(ctx.out(), "{}", buf); ~~~~~^ /usr/local/include/hyprutils/math/Vector2D.hpp:159:23: error: no type named 'format_error' in namespace 'std'; did you mean 'domain_error'? } catch (std::format_error& e) { return std::format_to(ctx.out(), "[{}, {}]", vec.x, vec.y); } ~~~~~^ /usr/include/c++/v1/stdexcept:123:29: note: 'domain_error' declared here class _LIBCPP_EXCEPTION_ABI domain_error ^ In file included from src/Hyprpaper.cpp:1: In file included from src/Hyprpaper.hpp:3: In file included from src/config/ConfigManager.hpp:2: In file included from src/config/../defines.hpp:20: /usr/local/include/hyprutils/math/Vector2D.hpp:159:54: error: no member named 'format_to' in namespace 'std' } catch (std::format_error& e) { return std::format_to(ctx.out(), "[{}, {}]", vec.x, vec.y); } ~~~~~^ Reported by: pkg-fallout --- x11/hyprpaper/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/x11/hyprpaper/Makefile b/x11/hyprpaper/Makefile index 8dab8c74a064..ebdbdf88f226 100644 --- a/x11/hyprpaper/Makefile +++ b/x11/hyprpaper/Makefile @@ -23,6 +23,11 @@ USE_GITHUB= yes GH_ACCOUNT= hyprwm PLIST_FILES= bin/${PORTNAME} +# XXX Drop after FreeBSD 14.0 EOL around 2024-10-01 +.if exists(/usr/lib/libc++.so) && !exists(/usr/include/c++/v1/__format/write_escaped.h) +CXXFLAGS+= -fexperimental-library +.endif + post-patch: # Extract (snapshot) version from the port instead of Git @${REINPLACE_CMD} -i .nogit -e '/Get git info/,/^include/{//p;d;}' \