irc/anope: unbreak with libc++ 8

In file included from src/access.cpp:12:
In file included from include/service.h:15:
In file included from include/services.h:22:
In file included from /usr/include/c++/v1/stdexcept:46:
In file included from /usr/include/c++/v1/exception:81:
In file included from /usr/include/c++/v1/cstddef:38:
include/version:1:1: error: expected unqualified-id
<U+007F>ELF<U+0002><U+0001><U+0001> <U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0002><U+0000>><U+0000><U+0001><U+0000><U+0000><U+0000><U+0000>P <U+0000><U+0000><U+0000><U+0000><U+0000>@<U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><F0>"<U+0001><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000>@<U+0000>8
^

PR:		236192
Approved by:	portmgr blanket
This commit is contained in:
Jan Beich 2019-03-04 07:21:57 +00:00
parent ede3b88703
commit 88bb6227dc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=494557

View file

@ -47,6 +47,11 @@ SQLITE_USES= sqlite
TRE_LIB_DEPENDS= libtre.so:textproc/libtre
post-patch:
# Avoid conflict with C++20 <version> by adding -bin suffix
@${REINPLACE_CMD} -i .c++20 's/version /version-bin /' \
${WRKSRC}/include/CMakeLists.txt
post-patch-GNUTLS-on:
${LN} -s ${WRKSRC}/modules/extra/m_ssl_gnutls.cpp ${WRKSRC}/modules/