svn commit: r568684 - branches/2021Q1/security/wpa_supplicant/files

Cy Schubert cy at FreeBSD.org
Wed Mar 17 19:26:42 UTC 2021


Author: cy
Date: Wed Mar 17 19:26:41 2021
New Revision: 568684
URL: https://svnweb.freebsd.org/changeset/ports/568684

Log:
  MFH: r561297
  
  Fix build on llvm10 and gcc.
  
  PR:		252577
  Reported by:	David Sieborger <drs-freebsd _ sieborger.nom.za>

Modified:
  branches/2021Q1/security/wpa_supplicant/files/patch-src_radius_radius__client.c
Directory Properties:
  branches/2021Q1/   (props changed)

Modified: branches/2021Q1/security/wpa_supplicant/files/patch-src_radius_radius__client.c
==============================================================================
--- branches/2021Q1/security/wpa_supplicant/files/patch-src_radius_radius__client.c	Wed Mar 17 19:12:31 2021	(r568683)
+++ branches/2021Q1/security/wpa_supplicant/files/patch-src_radius_radius__client.c	Wed Mar 17 19:26:41 2021	(r568684)
@@ -1,10 +1,12 @@
 --- src/radius/radius_client.c.orig	2019-08-07 06:25:25.000000000 -0700
-+++ src/radius/radius_client.c	2020-12-29 20:50:52.923004000 -0800
-@@ -814,6 +814,7 @@
++++ 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];


More information about the svn-ports-all mailing list