Date: Mon, 31 Jan 2022 21:51:52 GMT From: Cy Schubert <cy@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org Subject: git: f7c8e7325361 - 2022Q1 - */*: Fix wpa_supplicant* and hostapd* EAPOL_TEST build Message-ID: <202201312151.20VLpq2x041326@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch 2022Q1 has been updated by cy: URL: https://cgit.FreeBSD.org/ports/commit/?id=f7c8e7325361cd963746fa89352061e17d51ba6f commit f7c8e7325361cd963746fa89352061e17d51ba6f Author: Cy Schubert <cy@FreeBSD.org> AuthorDate: 2022-01-31 21:40:40 +0000 Commit: Cy Schubert <cy@FreeBSD.org> CommitDate: 2022-01-31 21:51:39 +0000 */*: Fix wpa_supplicant* and hostapd* EAPOL_TEST build Fix EAPOL_TEST build. Local funcion os_fdatasync() is valid under FreeBSD as fdatasync(2) is supported. PR: 261636 Reported by: David Siebörger <drs-freebsd@sieborger.nom.za> (cherry picked from commit 74e181d200eeb192160951934cd3b16014682d8c) --- net/hostapd-devel/files/patch-src_utils_os.h | 17 ----------------- net/hostapd/files/patch-src_utils_os.h | 17 ----------------- .../wpa_supplicant-devel/files/patch-src_utils_os.h | 17 ----------------- 3 files changed, 51 deletions(-) diff --git a/net/hostapd-devel/files/patch-src_utils_os.h b/net/hostapd-devel/files/patch-src_utils_os.h deleted file mode 100644 index e92661256d5f..000000000000 --- a/net/hostapd-devel/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 diff --git a/net/hostapd/files/patch-src_utils_os.h b/net/hostapd/files/patch-src_utils_os.h deleted file mode 100644 index e92661256d5f..000000000000 --- a/net/hostapd/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 diff --git a/security/wpa_supplicant-devel/files/patch-src_utils_os.h b/security/wpa_supplicant-devel/files/patch-src_utils_os.h deleted file mode 100644 index e92661256d5f..000000000000 --- a/security/wpa_supplicant-devel/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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202201312151.20VLpq2x041326>