Unbreak the build with -fno-common (Clang 11, GCC 10).
Reported by: pkg-fallout
This commit is contained in:
parent
51066ef31d
commit
e01b25f1ca
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=546244
@ -48,5 +48,8 @@ post-patch:
|
||||
${WRKSRC}/src/qt/Makefile.in
|
||||
@${REINPLACE_CMD} 's/-lnvcontrol/& @X11_LIBS@/' \
|
||||
${WRKSRC}/src/gtk/Makefile.in
|
||||
# Fix the build with -fno-common (for Clang 11 and GCC 10)
|
||||
@${REINPLACE_CMD} '/option_list/s,^,extern ,' \
|
||||
${WRKSRC}/src/nvcontrol/nvcontrol.h
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user