From nobody Mon Mar 18 07:15:56 2024 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 4TymNX6K2jz5CqVJ; Mon, 18 Mar 2024 07:15:56 +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 4TymNX5pBgz4WyN; Mon, 18 Mar 2024 07:15:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1710746156; 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=43O8cft5AVmwSHrVKXayHqlFJy+KCksAmAsFKkYzDH8=; b=HPECJQ7droIAJOi8rPQ6h7QAruCNtzB+E/jR+TOna2eEoOUfw8mqDg4EKBvawTqDDDaIMh 4GlZQw0cT6C/J/ncmtq6hS9aTkGzzNURNQoHIq3H+J93tMMOMkbwFxclUwfpD7bBjykDf2 1ISyYqPFxtPYT7Tb3t0+IpNlz6flLXZqJWEQYuOS4PJHOc1WozHrQ0EC6+2bLBmN/1jIn7 KFPGa8/CDUHgw7vxPVSB8ph8/Zwjv64cffSNU1LoWp1AJpeM/NkJx2u6Ae361D/cpZzwku rn+XCqeT5yl7RTX1nF8S3e2vqAICmfj33bMCegfxMhwpwNPPCkDGHmN58SEhzA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1710746156; a=rsa-sha256; cv=none; b=Cw5NmK+iFP8n/HITXqWxmM4cRZcL+P0d3CghC+BIrQWXUlUQuZpY0J6XWpPJTMk4OQnhhp YiA55LFdk9USvtPKUrdl7w4ceY73cTFZmaQW+TE340BJFLLw2mLp5YQnUpWtS6knw7Htl1 qZX14nE1qtKJb1rhxvziD+alUOI/cpLHaaBGOmQpBBaPPfEoH2TRsKyFFvcw2qFlPdjz+L f1WNsr0jRsghkKIzRu0uc1+pIJPjOvCewwxrMsqPK57tRolvYWrpnxQ2veo+h1zykrHQ7R IO15INJzTquvw0lUCg70UzD/csqJm2ban0IoQCP6uJeQuIh4QqxqRQZ7ct3HpA== 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=1710746156; 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=43O8cft5AVmwSHrVKXayHqlFJy+KCksAmAsFKkYzDH8=; b=JvTl81jgVpND6LvGD4jFXnS+gpun8PxmEUfubRCPbhF5V7VWEZgGFI5Tp0svCOVA6cRx4Z AmO5rlTe/Jj5DWPGsuW8+/YdOqpa/GKOvKqiNLYjSxlsizJwms+6LPOrq8nbp88F0Cc03N 9U3onxCnA9pIgK6ybhJ7I8gvO3e+r0mAPBPOXFXRn76VneB+rfSVDCbPmSxi2TIFeNNXTz BjDDMaGLtmbWkaLMpPHXSzzxYlzCDYqE62C4nWxzQFP0XfYFd8Q7ghk/ODVg5gTsRKWvBP FbJdjzFnVVQEOYuJQii92wEv1a8XRcC1W6EFBIRBsfkr6m1uYI1t/0bU5WkyaQ== 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 4TymNX5P4Wz1Cm4; Mon, 18 Mar 2024 07:15:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 42I7Fucq018755; Mon, 18 Mar 2024 07:15:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 42I7Fuf7018752; Mon, 18 Mar 2024 07:15:56 GMT (envelope-from git) Date: Mon, 18 Mar 2024 07:15:56 GMT Message-Id: <202403180715.42I7Fuf7018752@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: 31130ed44131 - main - x11/hyprcursor: unbreak build with libc++ 16 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: 31130ed44131de431e1d8d288dfd55b2c5482d3a Auto-Submitted: auto-generated The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=31130ed44131de431e1d8d288dfd55b2c5482d3a commit 31130ed44131de431e1d8d288dfd55b2c5482d3a Author: Jan Beich AuthorDate: 2024-03-17 23:34:43 +0000 Commit: Jan Beich CommitDate: 2024-03-18 07:14:52 +0000 x11/hyprcursor: unbreak build with libc++ 16 In file included from libhyprcursor/hyprcursor.cpp:12: ./libhyprcursor/Log.hpp:51:27: error: no member named 'vformat' in namespace 'std' std::cout << std::vformat(fmt, std::make_format_args(args...)) << "\n"; ~~~~~^ ./libhyprcursor/Log.hpp:51:45: error: no member named 'make_format_args' in namespace 'std' std::cout << std::vformat(fmt, std::make_format_args(args...)) << "\n"; ~~~~~^ hyprcursor-util/src/main.cpp:345:41: error: no member named 'format' in namespace 'std' const auto OUT = spawnSync(std::format("rm -f /tmp/hyprcursor-util/* && cd /tmp/hyprcursor-util && xcur2png {} -d /tmp/hyprcursor-util 2>&1", ~~~~~^ hyprcursor-util/src/main.cpp:399:39: error: no member named 'format' in namespace 'std' std::string metaString = std::format("resize_algorithm = {}\n", explicitResizeAlgo == RESIZE_INVALID ? "none" : algoToString(explicitResizeAlgo)); ~~~~~^ hyprcursor-util/src/main.cpp:403:18: error: no member named 'format' in namespace 'std' std::format("hotspot_x = {:.2f}\nhotspot_y = {:.2f}\n\n", (float)entries[0].hotspotX / (float)entries[0].size, (float)entries[0].hotspotY / (float)entries[0].size); ~~~~~^ hyprcursor-util/src/main.cpp:409:32: error: no member named 'format' in namespace 'std' metaString += std::format("define_size = {}, {}, {}\n", entry.size, ENTRYSTEM, entry.delay); ~~~~~^ hyprcursor-util/src/main.cpp:424:32: error: no member named 'format' in namespace 'std' metaString += std::format("define_override = {}\n", xcursor2.path().stem().string()); ~~~~~^ Reported by: pkg-fallout --- x11/hyprcursor/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/x11/hyprcursor/Makefile b/x11/hyprcursor/Makefile index 524e18e138fe..b9f4541f1904 100644 --- a/x11/hyprcursor/Makefile +++ b/x11/hyprcursor/Makefile @@ -20,6 +20,12 @@ USE_GNOME= cairo librsvg2 GH_ACCOUNT= hyprwm PLIST_SUB= VERSION=${DISTVERSION:C/-.*//} +# XXX Drop after FreeBSD 14.0 EOL around 2025-03-01 +.if exists(/usr/include/c++/v1/__format/format_functions.h) && \ + !exists(/usr/include/c++/v1/__format/write_escaped.h) +CXXFLAGS+= -fexperimental-library +.endif + post-patch: # Respect PREFIX for icons @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \