From owner-svn-ports-head@freebsd.org Tue Dec 12 02:40:41 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 28A7CE8804B; Tue, 12 Dec 2017 02:40:41 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E6FC6661F2; Tue, 12 Dec 2017 02:40:40 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vBC2ed2i092383; Tue, 12 Dec 2017 02:40:39 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vBC2edGX092382; Tue, 12 Dec 2017 02:40:39 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201712120240.vBC2edGX092382@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Tue, 12 Dec 2017 02:40:39 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r456078 - head/net/ns3 X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: head/net/ns3 X-SVN-Commit-Revision: 456078 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Dec 2017 02:40:41 -0000 Author: jbeich Date: Tue Dec 12 02:40:39 2017 New Revision: 456078 URL: https://svnweb.freebsd.org/changeset/ports/456078 Log: net/ns3: require C++11 toolchain (on powerpc*, mips*, sparc*) cc1plus: error: unrecognized command line option "-std=c++11" ../examples/wireless/wifi-multi-tos.cc:124:24: error: no matching constructor for initialization of 'std::vector' (aka 'vector') std::vector tosValues = {0x70, 0x28, 0xb8, 0xc0}; //AC_BE, AC_BK, AC_VI, AC_VO ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/4.2/bits/stl_vector.h:266:9: note: candidate constructor template not viable: requires at most 3 arguments, but 4 were provided vector(_InputIterator __first, _InputIterator __last, ^ /usr/include/c++/4.2/bits/stl_vector.h:224:7: note: candidate constructor not viable: requires at most 3 arguments, but 4 were provided vector(size_type __n, const value_type& __value = value_type(), ^ /usr/include/c++/4.2/bits/stl_vector.h:212:7: note: candidate constructor not viable: requires single argument '__a', but 4 arguments were provided vector(const allocator_type& __a) ^ /usr/include/c++/4.2/bits/stl_vector.h:242:7: note: candidate constructor not viable: requires single argument '__x', but 4 arguments were provided vector(const vector& __x) ^ /usr/include/c++/4.2/bits/stl_vector.h:208:7: note: candidate constructor not viable: requires 0 arguments, but 4 were provided vector() ^ 1 error generated. Reported by: pkg-fallout (mips64) Modified: head/net/ns3/Makefile (contents, props changed) Modified: head/net/ns3/Makefile ============================================================================== --- head/net/ns3/Makefile Tue Dec 12 02:30:49 2017 (r456077) +++ head/net/ns3/Makefile Tue Dec 12 02:40:39 2017 (r456078) @@ -11,9 +11,7 @@ COMMENT= Network simulator for Internet systems LICENSE= GPLv2 -BROKEN_powerpc64= fails to compile: cc1plus: unrecognized command line option -std=c++11 - -USES= gettext pkgconfig python sqlite tar:bzip2 waf +USES= compiler:c++11-lib gettext pkgconfig python sqlite tar:bzip2 waf USE_GNOME= libxml2 USE_LDCONFIG= yes WRKSRC_SUBDIR= ns-${DISTVERSION}