mirror of
https://git.freebsd.org/ports.git
synced 2025-06-03 11:56:28 -04: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 changed files with 0 additions and 15 deletions
|
@ -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…
Add table
Reference in a new issue