Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Sep 2020 09:58:51 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r547254 - head/net-mgmt/wifimgr
Message-ID:  <202009010958.0819wpgp095969@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Tue Sep  1 09:58:51 2020
New Revision: 547254
URL: https://svnweb.freebsd.org/changeset/ports/547254

Log:
  Declare various ``struct conflist'' variables as `extern' to unbreak
  the build against modern compilers (Clang 11, GCC 10).
  
  Reported by:	pkg-fallout

Modified:
  head/net-mgmt/wifimgr/Makefile

Modified: head/net-mgmt/wifimgr/Makefile
==============================================================================
--- head/net-mgmt/wifimgr/Makefile	Tue Sep  1 09:57:50 2020	(r547253)
+++ head/net-mgmt/wifimgr/Makefile	Tue Sep  1 09:58:51 2020	(r547254)
@@ -27,5 +27,7 @@ NLS_MAKE_ENV_OFF=	WITHOUT_NLS=yes
 
 post-patch:
 	@${REINPLACE_CMD} -e 's/-o root -g wheel//' ${WRKSRC}/src/Makefile
+	@${REINPLACE_CMD} -e '/conf_/s,^struct conflist,extern &,' \
+		${WRKSRC}/src/wifimgr.h
 
 .include <bsd.port.mk>



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