From owner-svn-ports-head@freebsd.org Thu Jun 11 23:38:20 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2AA40345093; Thu, 11 Jun 2020 23:38:20 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (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 "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49jgK80Mvpz4Zck; Thu, 11 Jun 2020 23:38:20 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id 05A429581; Thu, 11 Jun 2020 23:38:20 +0000 (UTC) From: Jan Beich To: Yuri Victorovich Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r538356 - head/devel/date References: <202006092334.059NYSES063777@repo.freebsd.org> Date: Fri, 12 Jun 2020 01:38:16 +0200 In-Reply-To: <202006092334.059NYSES063777@repo.freebsd.org> (Yuri Victorovich's message of "Tue, 9 Jun 2020 23:34:28 +0000 (UTC)") Message-ID: <5zbx-jhqv-wny@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2020 23:38:20 -0000 Yuri Victorovich writes: > Author: yuri > Date: Tue Jun 9 23:34:28 2020 > New Revision: 538356 > URL: https://svnweb.freebsd.org/changeset/ports/538356 > > Log: > devel/date: Update 2.4.1-80 -> 3.0.0 [...] > +PLIST_FILES= include/date/date.h \ > + lib/cmake/date/dateConfig.cmake \ > + lib/cmake/date/dateConfigVersion.cmake \ > + lib/cmake/date/dateTargets.cmake x11/waybar needs date/tz.h. Switching to date/date.h doesn't help. Obviously, I can switch to older bundled version in the meantime. In file included from ../src/modules/clock.cpp:1: ../include/modules/clock.hpp:9:10: fatal error: 'date/tz.h' file not found #include ^~~~~~~~~~~ In file included from ../src/modules/clock.cpp:1: ../include/modules/clock.hpp:17:9: error: no type named 'zoned_seconds' in namespace 'date'; did you mean 'local_seconds'? date::zoned_seconds ztime; ~~~~~~^~~~~~~~~~~~~ local_seconds /usr/local/include/date/date.h:203:7: note: 'local_seconds' declared here using local_seconds = local_time; ^ In file included from ../src/modules/clock.cpp:1: ../include/modules/clock.hpp:29:15: error: no type named 'time_zone' in namespace 'date' const date::time_zone* time_zone_; ~~~~~~^ ../src/modules/clock.cpp:16:24: error: no member named 'locate_zone' in namespace 'date' time_zone_ = date::locate_zone(config_["timezone"].asString()); ~~~~~~^ ../src/modules/clock.cpp:38:24: error: no member named 'current_zone' in namespace 'date' time_zone_ = date::current_zone(); ~~~~~~^ ../src/modules/clock.cpp:42:30: error: no member named 'make_zoned' in namespace 'date'; did you mean 'make_time'? date::make_zoned(time_zone_, date::floor(now))}; ~~~~~~^~~~~~~~~~ make_time /usr/local/include/date/date.h:3964:1: note: 'make_time' declared here make_time(const std::chrono::duration& d) ^ ../src/modules/clock.cpp:47:7: error: cannot initialize object parameter of type 'waybar::AModule' with an expression of type 'waybar::modules::Clock' if (tooltipEnabled()) { ^~~~~~~~~~~~~~ ../src/modules/clock.cpp:60:61: error: no member named 'get_local_time' in 'std::__1::chrono::time_point > >' const auto daypoint = date::floor(wtime.ztime.get_local_time()); ~~~~~~~~~~~ ^ In file included from ../src/modules/clock.cpp:1: ../include/modules/clock.hpp:29:26: warning: private field 'time_zone_' is not used [-Wunused-private-field] const date::time_zone* time_zone_; ^