Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Aug 2017 09:04:35 +0000 (UTC)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r447015 - head/net-p2p/verlihub-plugins-floodprotect
Message-ID:  <201708010904.v7194Z4v036788@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rakuco
Date: Tue Aug  1 09:04:35 2017
New Revision: 447015
URL: https://svnweb.freebsd.org/changeset/ports/447015

Log:
  Explicitly build with -std=gnu++03.
  
  This fixes the build with GCC 6, which defaults to -std=gnu++14. The project
  seems to be incompatible with C++11 and later.
  
  PR:		219281
  Approved by:	portmgr (blanket approval)

Modified:
  head/net-p2p/verlihub-plugins-floodprotect/Makefile

Modified: head/net-p2p/verlihub-plugins-floodprotect/Makefile
==============================================================================
--- head/net-p2p/verlihub-plugins-floodprotect/Makefile	Tue Aug  1 09:01:14 2017	(r447014)
+++ head/net-p2p/verlihub-plugins-floodprotect/Makefile	Tue Aug  1 09:04:35 2017	(r447015)
@@ -15,5 +15,9 @@ BROKEN_armv6=		fails to configure: checking for VERLIH
 PLUGIN_NAME=	floodprot
 PLUGIN_DESC=	Floodprotect
 
+# Bug 219281: the port fails to build in C++14 mode (the default in GCC 6),
+# switch back to the old default GCC used before.
+USE_CXXSTD=	gnu++03
+
 .include "../verlihub-plugins/Makefile.plugins"
 .include <bsd.port.mk>



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