From nobody Sat Aug 02 11:54:28 2025 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 4bvLpJ02z9z6314B; Sat, 02 Aug 2025 11:54:32 +0000 (UTC) (envelope-from tagattie@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bvLpH6Xkvz3jx3; Sat, 02 Aug 2025 11:54:31 +0000 (UTC) (envelope-from tagattie@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1754135671; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2kSotTclfH+dq8cVDvLCqq67KEAIzjfebO+ZoCGndDQ=; b=Ens0x6TC8+h5kU9u4R1G3MaEoZnB2giMYASYJnrx7ejt8a2W5Jy/QzfFTA7PEOaKjGgONs FVFMoYK2l5rkIb6+NRjMCAVUgRfg9VWTea3chyf6t1BsixJm0S99NdVik2GrsXkjO0dMx5 qpfLHqf10FdIG23+3ECLjbBeiLWrk/ZxCcDGKBk8mmRaqMnOWC+NRr774ODUs0HLC5m71a ogMTy5lOz3RKiTU/gpAopbEGTYZzo2XBCDruhtqKYzECeN+/6GH1kWWnlhQwHmlpzgFHzt hIsHNnp9R7CCzAOjCvqpfs2owvw6Pql8uggQ56umL8kCGTg6u/cQVFrGCeQ87g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1754135671; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2kSotTclfH+dq8cVDvLCqq67KEAIzjfebO+ZoCGndDQ=; b=QuZ9nVaBs3Gl8LTFmWQB1K3DjJSnmYUSuWhRnVurwmYXDH91BkPTpJiH6QYcY/3LxwDT/l O0cWcA6Fllx6ZkqA9oj4UAUylDHy2mu0thP8Vqu6SGRgjQVbbtwURnO3Luwd6gI3ATohH8 fT47QXJ7nzGRbrkFP91wUH6E7bvvARueWXDTxi0TXhWaXu25qphdYSPfWplk+RWcebdnQx +hfbiZ1AMYYF//O9TsgPyRtSC/fDBkaQHaajXUdBx587Z9VuCeKpIFCfujXV0lkhpV0Sqq OB+VhybPWM519hcEZA5COzXXOtF18/H4NuKlov3AUU9V55QR8U52d5+q07gDNw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1754135671; a=rsa-sha256; cv=none; b=gwrBHmFfySJYa4Eqg18STZy1d/j2PrL6lzRjmf4ANrgb4OYQLcSWp+VHd91aJlKdOMD6uJ sDF4ftPxwHyACKciOTVPhvl2AIfC7OorWcAE70z7JCOUxqnfJU4OAglGXAoTvygndHUzL4 6Kmk488VVoZ2GJteZa2215TifP5dsYesoLT3jGoyPRkn+s8+lQtpNGG7JNm3DUyuiXarWa HQHarAcMenaSbG/y96ab0jzjkujQv3ACz7JENZRq362atvQoLLhvenCPP/+cWOTjfj+wob 9n+C8Xb+b5bGhh70G9CoQ9d4v7pDnCew5XEdpBxnIBCZ+TlIQ0UYzJR+SMEm3w== Received: from [IPV6:2409:11:22a0:8900::34] (unknown [IPv6:2409:11:22a0:8900::34]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: tagattie/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4bvLpG6PyLzJTs; Sat, 02 Aug 2025 11:54:30 +0000 (UTC) (envelope-from tagattie@FreeBSD.org) Message-ID: Date: Sat, 2 Aug 2025 20:54:28 +0900 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: git: d9a1aaa98d16 - main - accessibility/hyprsunset: update to 0.3.1 To: Jan Beich Cc: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org References: <202508020420.5724Kg3N033225@gitrepo.freebsd.org> Content-Language: en-US From: Hiroki Tagato In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 8/2/25 17:29, Jan Beich wrote: > Jan Beich writes: > >> Hiroki Tagato writes: >> >>> ++#if defined(_LIBCPP_VERSION) || defined(_LIBCPP_HAS_NO_TIME_ZONE_DATABASE) >>> ++#pragma comment(lib, "date-tz") >>> ++#include >>> ++namespace std { >>> ++ namespace chrono { >>> ++ using date::current_zone; >>> ++ using date::zoned_time; >>> ++ } >>> ++} >>> ++#endif >> >> || operand makes it use devel/date even when libc++ supports || current_zone e.g., >> on Linux (if upstreamed) or FreeBSD >= 13.6/14.3/15.0. hyprlock has similar patch >> but doesn't remove _LIBCPP_VERSION < 190100 part. >> >> $ cd /usr/ports/x11/hyprlock >> $ make clean patch BATCH= >> $ fgrep -hr LIBCPP_VER `make -V WRKSRC` >> #if defined(_LIBCPP_VERSION) && _LIBCPP_VERSION < 190100 || defined(_LIBCPP_HAS_NO_TIME_ZONE_DATABASE) >> #if defined(_LIBCPP_VERSION) && _LIBCPP_VERSION < 190100 >> #if defined(_LIBCPP_VERSION) && _LIBCPP_VERSION < 180100 > > Alternatively, defined(_LIBCPP_VERSION) can be dropped. _LIBCPP_HAS_NO_TIME_ZONE_DATABASE > alone is enough and won't be defined by libstdc++. Thanks a lot for the detailed explanation! It seems I messed up with the patch when I tried to update the port version. Corrected at: https://cgit.freebsd.org/ports/commit/?id=6bbbd8728aebedb04372d8a14b21d59585b20e53