diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2020-09-01 08:51:51 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2020-09-01 08:51:51 +0000 |
commit | fe0a40a4844310388230ea2eb4248a7e6d82b777 (patch) | |
tree | 34abecd4a07cd5b72b0bdebc66038013273779f8 /irc | |
parent | 9c2505d033c48a276df5dc431e2d06a099a51a61 (diff) | |
download | freebsd-ports-fe0a40a4844310388230ea2eb4248a7e6d82b777.zip |
Unbreak the build with -fno-common (Clang 11, GCC 10).
Reported by: pkg-fallout
Diffstat (limited to 'irc')
-rw-r--r-- | irc/thales/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/irc/thales/Makefile b/irc/thales/Makefile index 7a2e6c28657d..732b36344937 100644 --- a/irc/thales/Makefile +++ b/irc/thales/Makefile @@ -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} |