Unbreak the build with -fno-common (Clang 11, GCC 10).
Reported by: pkg-fallout
This commit is contained in:
parent
9c2505d033
commit
fe0a40a484
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=547248
@ -41,6 +41,9 @@ post-patch: .SILENT
|
||||
${FIND} -d ${WRKSRC} -type d -name CVS -exec ${RM} -r {} \;
|
||||
${REINPLACE_CMD} -e 's,thales.conf,${PREFIX}/etc/&,' \
|
||||
${WRKSRC}/src/conf.h
|
||||
# Fix the build with -fno-common (for Clang 11 and GCC 10)
|
||||
${REINPLACE_CMD} -e '/total_read, total_written/s,^,extern ,' \
|
||||
${WRKSRC}/src/sockutil.h
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
|
Loading…
Reference in New Issue
Block a user