svn commit: r547254 - head/net-mgmt/wifimgr

Alexey Dokuchaev danfe at FreeBSD.org
Tue Sep 1 09:58:52 UTC 2020


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>


More information about the svn-ports-all mailing list