From edaddcd1a5bb374e58de0d4f99a7cccf6aed09ec Mon Sep 17 00:00:00 2001 From: Muhammad Saheed Date: Tue, 19 Aug 2025 11:03:27 +0530 Subject: security/wpa_supplicant: Add option to build libwpa_client CONFIG_BUILD_WPA_CLIENT_SO allows building the libwpa_client shared library and the wpa_ctrl.h header file. This library provides helpers to interact with the wpa_supplicant control interface. This is required for net/wutil. Approved by: cy (maintainer timeout) PR: 288933 Sponsored by: Google LLC (GSoC 2025) --- security/wpa_supplicant/files/patch-src_utils_os__unix.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'security/wpa_supplicant/files/patch-src_utils_os__unix.c') diff --git a/security/wpa_supplicant/files/patch-src_utils_os__unix.c b/security/wpa_supplicant/files/patch-src_utils_os__unix.c index d3ebadbba827..3feccd7f0b28 100644 --- a/security/wpa_supplicant/files/patch-src_utils_os__unix.c +++ b/security/wpa_supplicant/files/patch-src_utils_os__unix.c @@ -1,6 +1,6 @@ ---- src/utils/os_unix.c.orig 2024-05-10 09:57:55.000000000 -0700 -+++ src/utils/os_unix.c 2024-06-01 22:18:54.999484000 -0700 -@@ -103,10 +103,12 @@ +--- src/utils/os_unix.c.orig 2024-07-20 18:04:37 UTC ++++ src/utils/os_unix.c +@@ -103,9 +103,11 @@ int os_get_reltime(struct os_reltime *t) break; #endif #ifdef CLOCK_MONOTONIC @@ -8,8 +8,7 @@ case CLOCK_MONOTONIC: clock_id = CLOCK_REALTIME; break; - #endif +#endif + #endif case CLOCK_REALTIME: return -1; - } -- cgit v1.2.3