svn commit: r494557 - head/irc/anope

Jan Beich jbeich at FreeBSD.org
Mon Mar 4 07:21:58 UTC 2019


Author: jbeich
Date: Mon Mar  4 07:21:57 2019
New Revision: 494557
URL: https://svnweb.freebsd.org/changeset/ports/494557

Log:
  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

Modified:
  head/irc/anope/Makefile   (contents, props changed)

Modified: head/irc/anope/Makefile
==============================================================================
--- head/irc/anope/Makefile	Mon Mar  4 07:09:41 2019	(r494556)
+++ head/irc/anope/Makefile	Mon Mar  4 07:21:57 2019	(r494557)
@@ -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/
 


More information about the svn-ports-all mailing list