mirror of
https://git.freebsd.org/ports.git
synced 2025-05-14 08:11:50 -04:00
We clone security/wpa_supplicant to security/wpa_supplicant210 in preparation for the wpa_supplicant update to 2.11. In case anyone is having issues with it they can fall back to security/wpa_supplicant210.
15 lines
386 B
C
15 lines
386 B
C
--- src/utils/os_unix.c.orig 2022-01-16 12:51:29.000000000 -0800
|
|
+++ src/utils/os_unix.c 2024-06-01 22:03:18.774245000 -0700
|
|
@@ -103,10 +103,12 @@
|
|
break;
|
|
#endif
|
|
#ifdef CLOCK_MONOTONIC
|
|
+#if !(defined(CLOCK_BOOTTIME) && CLOCK_BOOTTIME == CLOCK_MONOTONIC)
|
|
case CLOCK_MONOTONIC:
|
|
clock_id = CLOCK_REALTIME;
|
|
break;
|
|
#endif
|
|
+#endif
|
|
case CLOCK_REALTIME:
|
|
return -1;
|
|
}
|