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:
parent
8098e897b0
commit
45a47fdfdb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=547254
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user