git: 0a5716395cdf - main - security/wpa_supplicant-devel: Add missing patch

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Mon, 10 Aug 2026 15:46:20 UTC
The branch main has been updated by cy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0a5716395cdfc0e5e3b6392918c5be8e14b92e22

commit 0a5716395cdfc0e5e3b6392918c5be8e14b92e22
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2026-08-10 15:45:44 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2026-08-10 15:45:44 +0000

    security/wpa_supplicant-devel: Add missing patch
    
    Add patch missed in d7e66a13b386.
    
    Fixes:          d7e66a13b386
---
 .../files/patch-src_utils_os__unix.c                  | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/security/wpa_supplicant-devel/files/patch-src_utils_os__unix.c b/security/wpa_supplicant-devel/files/patch-src_utils_os__unix.c
index d3ebadbba827..2036df735915 100644
--- a/security/wpa_supplicant-devel/files/patch-src_utils_os__unix.c
+++ b/security/wpa_supplicant-devel/files/patch-src_utils_os__unix.c
@@ -1,15 +1,16 @@
---- 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 @@
- 			break;
+--- src/utils/os_unix.c.orig	2026-08-09 02:28:34.000000000 -0700
++++ src/utils/os_unix.c	2026-08-10 08:35:39.110565000 -0700
+@@ -124,11 +124,13 @@
  #endif
+ 
  #ifdef CLOCK_MONOTONIC
 +#if !(defined(CLOCK_BOOTTIME) && CLOCK_BOOTTIME == CLOCK_MONOTONIC)
- 		case CLOCK_MONOTONIC:
+ 		if (clock_id == CLOCK_MONOTONIC) {
  			clock_id = CLOCK_REALTIME;
- 			break;
+ 			continue;
+ 		}
  #endif
 +#endif
- 		case CLOCK_REALTIME:
- 			return -1;
- 		}
+ 
+ 		/* No additional clockid_t values to fall back to */
+ 		return -1;