Declare various `struct conflist'' variables as extern' to unbreak

the build against modern compilers (Clang 11, GCC 10).

Reported by:	pkg-fallout
This commit is contained in:
Alexey Dokuchaev 2020-09-01 09:58:51 +00:00
parent 8098e897b0
commit 45a47fdfdb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=547254

View File

@ -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>