mirror of
https://git.freebsd.org/ports.git
synced 2025-07-06 20:09:14 -04:00
The repository used by this port is actively maintained and there "dev" branch contains updates and fixes (including for builds on aarch64). Since the maintainer had not updated the port for more than 1 year and it had become deprecated, I'm taking over maintainership.
11 lines
369 B
C
11 lines
369 B
C
--- src/wx-thread.c.orig 2020-12-01 19:49:05 UTC
|
|
+++ src/wx-thread.c
|
|
@@ -171,7 +171,7 @@ int thread_wait_event(event_t *handle, int timeout)
|
|
event_pthread_t *event = (event_pthread_t *)handle;
|
|
struct timespec abstime;
|
|
|
|
-#ifdef __linux__
|
|
+#if defined(__linux__) || defined(__FreeBSD__)
|
|
clock_gettime(CLOCK_REALTIME, &abstime);
|
|
#else
|
|
struct timeval now;
|