mirror of
https://git.freebsd.org/ports.git
synced 2025-06-30 17:10:33 -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
18 lines
354 B
C
18 lines
354 B
C
--- src/utils/os_unix.c.orig 2015-09-27 19:02:05 UTC
|
|
+++ src/utils/os_unix.c
|
|
@@ -442,6 +442,7 @@ int os_file_exists(const char *fname)
|
|
}
|
|
|
|
|
|
+#if !defined __FreeBSD__ && !defined __DragonFly__
|
|
int os_fdatasync(FILE *stream)
|
|
{
|
|
if (!fflush(stream)) {
|
|
@@ -459,6 +460,7 @@ int os_fdatasync(FILE *stream)
|
|
|
|
return -1;
|
|
}
|
|
+#endif
|
|
|
|
|
|
#ifndef WPA_TRACE
|