From 74e181d200eeb192160951934cd3b16014682d8c Mon Sep 17 00:00:00 2001 From: Cy Schubert Date: Mon, 31 Jan 2022 13:40:40 -0800 Subject: */*: Fix wpa_supplicant* and hostapd* EAPOL_TEST build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix EAPOL_TEST build. Local funcion os_fdatasync() is valid under FreeBSD as fdatasync(2) is supported. PR: 261636 Reported by: David Siebörger MFH: 2022Q1 --- security/wpa_supplicant/files/patch-src_utils_os.h | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 security/wpa_supplicant/files/patch-src_utils_os.h (limited to 'security/wpa_supplicant/files/patch-src_utils_os.h') diff --git a/security/wpa_supplicant/files/patch-src_utils_os.h b/security/wpa_supplicant/files/patch-src_utils_os.h deleted file mode 100644 index e92661256d5f..000000000000 --- a/security/wpa_supplicant/files/patch-src_utils_os.h +++ /dev/null @@ -1,17 +0,0 @@ ---- src/utils/os.h.orig 2016-09-17 20:36:13 UTC -+++ src/utils/os.h -@@ -246,12 +246,14 @@ char * os_readfile(const char *name, siz - */ - int os_file_exists(const char *fname); - -+#if !defined __FreeBSD__ && !defined __DragonFly__ - /** - * os_fdatasync - Sync a file's (for a given stream) state with storage device - * @stream: the stream to be flushed - * Returns: 0 if the operation succeeded or -1 on failure - */ - int os_fdatasync(FILE *stream); -+#endif - - /** - * os_zalloc - Allocate and zero memory -- cgit v1.2.3