ports/security/wpa_supplicant29/files/patch-src_radius_radius__client.c
Cy Schubert 7150a0c9b1 */*: Bring back wpa_supplicant29 and hostapd29 as new ports
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
2022-06-19 09:20:13 -07:00

12 lines
486 B
C

--- src/radius/radius_client.c.orig 2019-08-07 06:25:25.000000000 -0700
+++ src/radius/radius_client.c 2021-01-11 08:35:20.860835000 -0800
@@ -814,6 +814,9 @@
{
struct radius_client_data *radius = eloop_ctx;
struct hostapd_radius_servers *conf = radius->conf;
+#if defined(__clang_major__) && __clang_major__ >= 11
+#pragma GCC diagnostic ignored "-Wvoid-pointer-to-enum-cast"
+#endif
RadiusType msg_type = (RadiusType) sock_ctx;
int len, roundtrip;
unsigned char buf[3000];