git: 31c493f01d5a - main - security/wpa_supplicant29: Fix 15-CURRENT 108de784513d build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 02 Jun 2024 05:36:37 UTC
The branch main has been updated by cy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=31c493f01d5aa7b062b01d12810ade9b57207749
commit 31c493f01d5aa7b062b01d12810ade9b57207749
Author: Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2024-06-02 05:11:40 +0000
Commit: Cy Schubert <cy@FreeBSD.org>
CommitDate: 2024-06-02 05:31:33 +0000
security/wpa_supplicant29: Fix 15-CURRENT 108de784513d build
On FreeBSD systems without 108de784513d the old definition will be used
while on 108de784513d and newer the duplicate case will be removed.
Obtained from: src 676041c41ba5
Discussed with: imp
---
.../wpa_supplicant29/files/patch-src_utils_os__unix.c | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/security/wpa_supplicant29/files/patch-src_utils_os__unix.c b/security/wpa_supplicant29/files/patch-src_utils_os__unix.c
new file mode 100644
index 000000000000..c7da06fd1481
--- /dev/null
+++ b/security/wpa_supplicant29/files/patch-src_utils_os__unix.c
@@ -0,0 +1,15 @@
+--- src/utils/os_unix.c.orig 2019-08-07 06:25:25.000000000 -0700
++++ src/utils/os_unix.c 2024-06-01 22:07:44.791894000 -0700
+@@ -97,10 +97,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;
+ }