mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
accessibility/darkman: drop unused patch after bbab7f59e9
DragonFly-specific workarounds are better maintained within DPorts.
This commit is contained in:
parent
b2de74f1e7
commit
2039a2ec62
@ -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()
|
Loading…
Reference in New Issue
Block a user