mirror of
https://git.freebsd.org/ports.git
synced 2025-05-17 09:33:11 -04:00
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
1 changed files with 3 additions and 0 deletions
|
@ -41,6 +41,9 @@ post-patch: .SILENT
|
||||||
${FIND} -d ${WRKSRC} -type d -name CVS -exec ${RM} -r {} \;
|
${FIND} -d ${WRKSRC} -type d -name CVS -exec ${RM} -r {} \;
|
||||||
${REINPLACE_CMD} -e 's,thales.conf,${PREFIX}/etc/&,' \
|
${REINPLACE_CMD} -e 's,thales.conf,${PREFIX}/etc/&,' \
|
||||||
${WRKSRC}/src/conf.h
|
${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:
|
do-install:
|
||||||
@${MKDIR} ${STAGEDIR}${DATADIR}
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
||||||
|
|
Loading…
Add table
Reference in a new issue