Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jan 2021 04:27:16 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r561297 - head/security/wpa_supplicant/files
Message-ID:  <202101120427.10C4RGJ7062948@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cy
Date: Tue Jan 12 04:27:16 2021
New Revision: 561297
URL: https://svnweb.freebsd.org/changeset/ports/561297

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

Modified:
  head/security/wpa_supplicant/files/patch-src_radius_radius__client.c   (contents, props changed)

Modified: head/security/wpa_supplicant/files/patch-src_radius_radius__client.c
==============================================================================
--- head/security/wpa_supplicant/files/patch-src_radius_radius__client.c	Tue Jan 12 02:04:52 2021	(r561296)
+++ head/security/wpa_supplicant/files/patch-src_radius_radius__client.c	Tue Jan 12 04:27:16 2021	(r561297)
@@ -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];



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101120427.10C4RGJ7062948>