Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Mar 2019 07:21:57 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r494557 - head/irc/anope
Message-ID:  <201903040721.x247LvcS098499@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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/
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903040721.x247LvcS098499>