git: 2039a2ec62bf - main - accessibility/darkman: drop unused patch after bbab7f59e963
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 27 May 2024 20:50:32 UTC
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=2039a2ec62bfac0690b9f3039624a30f4906f38c
commit 2039a2ec62bfac0690b9f3039624a30f4906f38c
Author: Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-05-27 20:46:41 +0000
Commit: Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-05-27 20:49:33 +0000
accessibility/darkman: drop unused patch after bbab7f59e963
DragonFly-specific workarounds are better maintained within DPorts.
---
accessibility/darkman/files/patch-boottimer_boottimer.go | 15 ---------------
1 file changed, 15 deletions(-)
diff --git a/accessibility/darkman/files/patch-boottimer_boottimer.go b/accessibility/darkman/files/patch-boottimer_boottimer.go
deleted file mode 100644
index f86e9267e5f2..000000000000
--- a/accessibility/darkman/files/patch-boottimer_boottimer.go
+++ /dev/null
@@ -1,15 +0,0 @@
-Unbreak on FreeBSD < 13
-
-boottimer/boottimer.go:35:17: could not determine kind of name for C.CLOCK_BOOTTIME
-
---- 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.
- func SetTimer(d time.Duration) {
- var timer C.timer_t
-- C.timer_create(C.CLOCK_BOOTTIME, nil, &timer)
-+ C.timer_create(C.CLOCK_UPTIME, nil, &timer)
-
- seconds := d.Round(time.Second).Seconds()
- ns := (d - d.Truncate(time.Second)).Nanoseconds()