From nobody Wed Oct 30 18:05:08 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 4Xdw5J6jMhz5bmf6; Wed, 30 Oct 2024 18:05:08 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xdw5J3kH1z4Mnb; Wed, 30 Oct 2024 18:05:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730311508; 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=roeq62weA5ieY23N/bQ4nahcros8emTwEiS5gE4RsgE=; b=AIc50CxPSygNlbP6Y0pEzHfTilhovREtR7P9fk0jAz36yUsNKbSJ8ONonW6kBatYImHlnS R2ojIQuRmFitvsiCghnQ+nAciN501wew389QfLRyLlErdmeoBRV5M0SEK7VDTXYiODs7+1 P5kUOitcrfTMhrP+6pf9i8jlI6wbBNZhX3IYNZkc5X9FG6KhlEaoTEtpS7IIuBgm450zvf wX3wWuwwWXwFymV2mQtuIEYidDX+AQdhvTY++TBtf0RBZ7EmV7ubp5fdela9edVG4+78vL Pc/ezSwFIWdzYNRWfYvwAz7POz2cEMUPvQuAHis6Fp4YMwbjOaN+qpTKRAnhPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730311508; 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=roeq62weA5ieY23N/bQ4nahcros8emTwEiS5gE4RsgE=; b=JTcpdGr6xXCDcHWXYv3MmrPLbfnSJbFMfCSUa1PIBapFF1Qj0SbmIiQmVfjhgIsSl0u7uG w92FlFfDJ8KVc2qdoxf/2BxN14rEx7qA0Wb6IeSnQhzOrs+2noA6MEznF+VSMzSuXbv67y GKwNqr6i/5reXIszPrnWpZBGFWDxNGgQblEQ5QtyeuYJVVop5JSoQdLwBrHmo2qulxhlJH ZB0KBt8Rs9gJXUr38IooLP7zl8iwG7O6Rnm2ijR+RXL0Smfu3o1NZWxA+ZlguiiM7vvgID g6QvnDCOygpQaaEd6EoCSvulddCWyBrBZyKuUhNJy8pECDm0XimEC34gSLRfDA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730311508; a=rsa-sha256; cv=none; b=WOWdsNk4lbJlJ433e4rrMg4qk4FVnvdfgRNtzovs9Fz7V6a6G80AoH571uaacXD2n7woQW QXMlOfcgPzHhOO7zaCJbZtKWYJDkPIhzOrwQk2p2F78PvqO5e+7+mto0NeZGoff+rbPGEd WT0aUD2H8xSl0tR8GG6A5gkSlVwZGs/WJOwTqqpCuYZbYPwJ+IHVFrVRZeY+HDhSWEMGYe ZFrkage9UO3ZhJ98ZKkEVRtvhYIWj3YzRH/mDH04lBz2bNsfmCv0HvNWlj8F3R4SkUaBd+ rKbxxyIOF0adI9VYFk5nluTON6JnCPTqoUO+KdVBhvCbyYuDp4BGkVESF0JgmQ== 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 4Xdw5J2zYDz1H8r; Wed, 30 Oct 2024 18:05:08 +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 49UI58ZJ016416; Wed, 30 Oct 2024 18:05:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49UI58wF016413; Wed, 30 Oct 2024 18:05:08 GMT (envelope-from git) Date: Wed, 30 Oct 2024 18:05:08 GMT Message-Id: <202410301805.49UI58wF016413@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: c77b742ff843 - main - x11/hyprlock: unbreak build with libc++ 19 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 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: c77b742ff843cb257656defa6c14749137e9d005 Auto-Submitted: auto-generated The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=c77b742ff843cb257656defa6c14749137e9d005 commit c77b742ff843cb257656defa6c14749137e9d005 Author: Jan Beich AuthorDate: 2024-10-28 10:45:23 +0000 Commit: Jan Beich CommitDate: 2024-10-30 18:03:46 +0000 x11/hyprlock: unbreak build with libc++ 19 src/renderer/widgets/IWidget.cpp:104:44: error: no member named 'current_zone' in namespace 'std::chrono' 104 | const auto current_zone = std::chrono::current_zone(); | ~~~~~~~~~~~~~^ src/renderer/widgets/IWidget.cpp:113:44: error: no member named 'current_zone' in namespace 'std::chrono' 113 | const auto current_zone = std::chrono::current_zone(); | ~~~~~~~~~~~~~^ Reported by: pkg-fallout --- x11/hyprlock/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/x11/hyprlock/Makefile b/x11/hyprlock/Makefile index 08581d514c60..cc9da13e19d6 100644 --- a/x11/hyprlock/Makefile +++ b/x11/hyprlock/Makefile @@ -30,10 +30,15 @@ PLIST_FILES= bin/${PORTNAME} \ etc/pam.d/${PORTNAME} \ share/hypr/${PORTNAME}.conf -# XXX Drop after FreeBSD 13.3 EOL around 2025-07-01 -.if exists(/usr/lib/libc++.so) && !exists(/usr/include/c++/v1/__chrono/time_zone.h) +# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282377 +.if exists(/usr/lib/libc++.so) LIB_DEPENDS+= libdate-tz.so:devel/date USES+= localbase:ldflags + +post-patch: libcxx-post-patch +libcxx-post-patch: + @${REINPLACE_CMD} '/_LIBCPP_VERSION/s/$$/ || defined(_LIBCPP_HAS_NO_TIME_ZONE_DATABASE)/' \ + ${WRKSRC}/src/renderer/widgets/IWidget.cpp .endif .include