From owner-dev-commits-ports-all@freebsd.org Tue Apr 27 00:56:19 2021 Return-Path: Delivered-To: dev-commits-ports-all@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 820155F6728; Tue, 27 Apr 2021 00:56:19 +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 4FTjxv1nnXz4mBm; Tue, 27 Apr 2021 00:56:19 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 1BF44119F0; Tue, 27 Apr 2021 00:56:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 13R0uJYG043924; Tue, 27 Apr 2021 00:56:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 13R0uJ5E043923; Tue, 27 Apr 2021 00:56:19 GMT (envelope-from git) Date: Tue, 27 Apr 2021 00:56:19 GMT Message-Id: <202104270056.13R0uJ5E043923@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: f9c701cefcb4 - main - accessibility/wlsunset: update to 0.2.0 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: f9c701cefcb495b3b0788092dbd18b24f4185548 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Apr 2021 00:56:19 -0000 The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=f9c701cefcb495b3b0788092dbd18b24f4185548 commit f9c701cefcb495b3b0788092dbd18b24f4185548 Author: Jan Beich AuthorDate: 2021-04-25 20:56:30 +0000 Commit: Jan Beich CommitDate: 2021-04-27 00:24:51 +0000 accessibility/wlsunset: update to 0.2.0 Changes: https://git.sr.ht/~kennylevinsen/wlsunset/refs/0.2.0 --- accessibility/wlsunset/Makefile | 7 +------ accessibility/wlsunset/distinfo | 14 +++----------- accessibility/wlsunset/files/patch-main.c | 17 +++++++++++++++++ 3 files changed, 21 insertions(+), 17 deletions(-) diff --git a/accessibility/wlsunset/Makefile b/accessibility/wlsunset/Makefile index 4e962920042d..b1031bc80a9c 100644 --- a/accessibility/wlsunset/Makefile +++ b/accessibility/wlsunset/Makefile @@ -1,13 +1,8 @@ PORTNAME= wlsunset -DISTVERSION= 0.1.0 +DISTVERSION= 0.2.0 CATEGORIES= accessibility MASTER_SITES= https://git.sr.ht/~kennylevinsen/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ -PATCH_SITES= https://git.sr.ht/~kennylevinsen/${PORTNAME}/commit/ -PATCHFILES+= fa2bd4425314.patch:-p1 33c64bc929b2.patch:-p1 # manpage -PATCHFILES+= ec0c1614af21.patch:-p1 # avoid USES=localbase -PATCHFILES+= 49ad3ce7a8e8.patch:-p1 # unbreak Clang >= 10 - MAINTAINER= jbeich@FreeBSD.org COMMENT= Day/night gamma adjustments for Wayland diff --git a/accessibility/wlsunset/distinfo b/accessibility/wlsunset/distinfo index 7dea638c9c25..7915d307505e 100644 --- a/accessibility/wlsunset/distinfo +++ b/accessibility/wlsunset/distinfo @@ -1,11 +1,3 @@ -TIMESTAMP = 1603237309 -SHA256 (wlsunset-0.1.0.tar.gz) = d9a20744be6a5ef7fceb4e97e831a5c8cec77a95fb8248744ec1e674da3bbe71 -SIZE (wlsunset-0.1.0.tar.gz) = 10927 -SHA256 (fa2bd4425314.patch) = 96ce10ee08adba006797683bb96468796a44a2b4ab07d668c9ca5778f9740e39 -SIZE (fa2bd4425314.patch) = 2634 -SHA256 (33c64bc929b2.patch) = fdb112f99f43fc4f2984a53d6474d616bf99c3fbbf802c7c3378fd98f9a78ee1 -SIZE (33c64bc929b2.patch) = 971 -SHA256 (ec0c1614af21.patch) = 9912020085fe3c5ebaf90684542e379b82a80c07f4bc060a9325cd2eb97ae7af -SIZE (ec0c1614af21.patch) = 1450 -SHA256 (49ad3ce7a8e8.patch) = f3cbefd2cb3ba70b198eddafdc792f1bac46192f9f0f01eb956e55cc4dda12c9 -SIZE (49ad3ce7a8e8.patch) = 970 +TIMESTAMP = 1619384190 +SHA256 (wlsunset-0.2.0.tar.gz) = 88bce695722a09d79545f14d404cc0659f7176bb08d5db5f4f23228b6ba8bb03 +SIZE (wlsunset-0.2.0.tar.gz) = 12605 diff --git a/accessibility/wlsunset/files/patch-main.c b/accessibility/wlsunset/files/patch-main.c new file mode 100644 index 000000000000..f8c592112448 --- /dev/null +++ b/accessibility/wlsunset/files/patch-main.c @@ -0,0 +1,17 @@ +Unbreak on FreeBSD after https://git.sr.ht/~kennylevinsen/wlsunset/commit/111181106e41 +See also https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=24590 + +main.c:710:47: error: use of undeclared identifier 'timezone' + *time = tm.tm_hour * 3600 + tm.tm_min * 60 + timezone; + +--- main.c.orig 2021-04-25 20:56:30 UTC ++++ main.c +@@ -707,7 +707,7 @@ static int parse_time_of_day(const char *s, time_t *ti + if (strptime(s, "%H:%M", &tm) == NULL) { + return -1; + } +- *time = tm.tm_hour * 3600 + tm.tm_min * 60 + timezone; ++ *time = tm.tm_hour * 3600 + tm.tm_min * 60 + tm.tm_gmtoff; + return 0; + } +