1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

accessibility/darkman: update to 1.5.0

Changes:	https://gitlab.com/WhyNotHugo/darkman/-/compare/v1.5.0...v1.5.2
This commit is contained in:
Jan Beich 2023-01-17 10:14:08 +00:00
parent 8b75d00e7a
commit ae0285d3f6
3 changed files with 7 additions and 18 deletions

View File

@ -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 \

View File

@ -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

View File

@ -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),
},
}