From owner-svn-ports-head@freebsd.org Tue Jan 12 04:27:17 2021 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 550804EFC74; Tue, 12 Jan 2021 04:27:17 +0000 (UTC) (envelope-from cy@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DFHbn0gDGz3t51; Tue, 12 Jan 2021 04:27:17 +0000 (UTC) (envelope-from cy@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0A10726F81; Tue, 12 Jan 2021 04:27:17 +0000 (UTC) (envelope-from cy@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 10C4RGQc062949; Tue, 12 Jan 2021 04:27:16 GMT (envelope-from cy@FreeBSD.org) Received: (from cy@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 10C4RGJ7062948; Tue, 12 Jan 2021 04:27:16 GMT (envelope-from cy@FreeBSD.org) Message-Id: <202101120427.10C4RGJ7062948@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cy set sender to cy@FreeBSD.org using -f From: Cy Schubert Date: Tue, 12 Jan 2021 04:27:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r561297 - head/security/wpa_supplicant/files X-SVN-Group: ports-head X-SVN-Commit-Author: cy X-SVN-Commit-Paths: head/security/wpa_supplicant/files X-SVN-Commit-Revision: 561297 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jan 2021 04:27:17 -0000 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 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];