mirror of
https://git.freebsd.org/ports.git
synced 2025-06-05 12:56:28 -04:00
The current wpa_supplicant and hostapd have an issue with AR9285. For the time being bring back wpa_supplicant 2.9 as security/wpa_supplicant29 and hostpd 2.9 as net/hostapd29 for those cases that have an issue with wpa_supplicant/hostpad2.10 (in base and in ports) PR: 264238 MFH: 2022Q2
17 lines
505 B
C
17 lines
505 B
C
--- 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
|