git: ae0285d3f668 - main - accessibility/darkman: update to 1.5.0

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Tue, 17 Jan 2023 13:34:25 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ae0285d3f6681d4a42bc8291859f65a16ae591eb

commit ae0285d3f6681d4a42bc8291859f65a16ae591eb
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-01-17 10:14:08 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-01-17 13:34:18 +0000

    accessibility/darkman: update to 1.5.0
    
    Changes:        https://gitlab.com/WhyNotHugo/darkman/-/compare/v1.5.0...v1.5.2
---
 accessibility/darkman/Makefile                           |  5 ++---
 accessibility/darkman/distinfo                           |  6 +++---
 accessibility/darkman/files/patch-boottimer_boottimer.go | 14 ++------------
 3 files changed, 7 insertions(+), 18 deletions(-)

diff --git a/accessibility/darkman/Makefile b/accessibility/darkman/Makefile
index 93427cfab0a2..e286eb7c45c4 100644
--- a/accessibility/darkman/Makefile
+++ b/accessibility/darkman/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	darkman
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.5.0
-PORTREVISION=	1
+DISTVERSION=	1.5.2
 CATEGORIES=	accessibility wayland
 
 MAINTAINER=	jbeich@FreeBSD.org
@@ -22,7 +21,7 @@ GH_TUPLE=	adrg:xdg:v0.3.3:adrg_xdg/vendor/github.com/adrg/xdg \
 		kr:pretty:v0.2.0:kr_pretty/vendor/github.com/kr/pretty \
 		sj14:astral:v0.1.2:sj14_astral/vendor/github.com/sj14/astral
 GL_ACCOUNT=	WhyNotHugo
-GL_COMMIT=	227df1b16cfda5a2c6e8916cf9c51f40d827fabc
+GL_COMMIT=	788453c1ce5b75530810860a552688b19b9b9e99
 GO_TARGET=	./cmd/${PORTNAME}
 PLIST_FILES=	bin/${PORTNAME} \
 		share/dbus-1/services/nl.whynothugo.darkman.service \
diff --git a/accessibility/darkman/distinfo b/accessibility/darkman/distinfo
index 5dcc0b9bf70b..90dd8e3bfdff 100644
--- a/accessibility/darkman/distinfo
+++ b/accessibility/darkman/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1669145549
+TIMESTAMP = 1673950448
 SHA256 (adrg-xdg-v0.3.3_GH0.tar.gz) = 07493a0702766a2f713321928a0f304c34f900dee445f5de3a4e43c715d2e21d
 SIZE (adrg-xdg-v0.3.3_GH0.tar.gz) = 16502
 SHA256 (go-check-check-41f04d3bba15_GH0.tar.gz) = 2d5b1036909b241e44f0d6a7cfa936cf9f875efb4f0af077cd61585c6d0c0432
@@ -13,5 +13,5 @@ SHA256 (kr-pretty-v0.2.0_GH0.tar.gz) = 6dc2207cfe03d3b9d65460cbada52c533ed273726
 SIZE (kr-pretty-v0.2.0_GH0.tar.gz) = 8760
 SHA256 (sj14-astral-v0.1.2_GH0.tar.gz) = e3305b66e64505f763ff5d87b31bef8dae78a0780ad93864d09341aebdd7466a
 SIZE (sj14-astral-v0.1.2_GH0.tar.gz) = 266290
-SHA256 (WhyNotHugo-darkman-227df1b16cfda5a2c6e8916cf9c51f40d827fabc_GL0.tar.gz) = f7716b37cd6c6fc6854ae40f471d61c7bb5d194d5326d92617585da0f0f4577a
-SIZE (WhyNotHugo-darkman-227df1b16cfda5a2c6e8916cf9c51f40d827fabc_GL0.tar.gz) = 24107
+SHA256 (WhyNotHugo-darkman-788453c1ce5b75530810860a552688b19b9b9e99_GL0.tar.gz) = 8cc85a3b71a07abc299ad6c356311119f9bf3f3b946f85a629e4ddd6141fdc16
+SIZE (WhyNotHugo-darkman-788453c1ce5b75530810860a552688b19b9b9e99_GL0.tar.gz) = 23437
diff --git a/accessibility/darkman/files/patch-boottimer_boottimer.go b/accessibility/darkman/files/patch-boottimer_boottimer.go
index 127ccdd3a81e..f86e9267e5f2 100644
--- a/accessibility/darkman/files/patch-boottimer_boottimer.go
+++ b/accessibility/darkman/files/patch-boottimer_boottimer.go
@@ -1,9 +1,8 @@
-Unbreak on FreeBSD < 13 and i386
+Unbreak on FreeBSD < 13
 
 boottimer/boottimer.go:35:17: could not determine kind of name for C.CLOCK_BOOTTIME
-boottimer/boottimer.go:47:13: cannot use _Ctype_long(seconds) (value of type _Ctype_long) as type _Ctype_int in struct literal
 
---- boottimer/boottimer.go.orig	2022-10-22 10:12:59 UTC
+--- boottimer/boottimer.go.orig	2023-01-17 10:14:08 UTC
 +++ boottimer/boottimer.go
 @@ -32,7 +32,7 @@ func SetTimer(d time.Duration) {
  // the same channel `Alarms` above.
@@ -14,12 +13,3 @@ boottimer/boottimer.go:47:13: cannot use _Ctype_long(seconds) (value of type _Ct
  
  	seconds := d.Round(time.Second).Seconds()
  	ns := (d - d.Truncate(time.Second)).Nanoseconds()
-@@ -44,7 +44,7 @@ func SetTimer(d time.Duration) {
- 			tv_nsec: 0,
- 		},
- 		it_value: C.struct_timespec{
--			tv_sec:  C.long(seconds),
-+			tv_sec:  C.time_t(seconds),
- 			tv_nsec: C.long(ns),
- 		},
- 	}