Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Aug 2017 09:01:14 +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: r447014 - head/irc/ezbounce
Message-ID:  <201708010901.v7191EaG033622@repo.freebsd.org>

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

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

Modified:
  head/irc/ezbounce/Makefile

Modified: head/irc/ezbounce/Makefile
==============================================================================
--- head/irc/ezbounce/Makefile	Tue Aug  1 09:01:12 2017	(r447013)
+++ head/irc/ezbounce/Makefile	Tue Aug  1 09:01:14 2017	(r447014)
@@ -24,6 +24,10 @@ GNU_CONFIGURE=	yes
 USES=		gmake
 USE_GCC=	any
 
+# ezbounce 1.99.15 isn't compatible with C++11 and later, which some compilers
+# such as GCC 6 default to.
+USE_CXXSTD=	gnu++03
+
 SUB_FILES=	pkg-message
 
 post-patch:



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