From owner-svn-ports-head@freebsd.org Tue Dec 12 02:30:50 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 EEDCEE8770E; Tue, 12 Dec 2017 02:30:50 +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 C651165931; Tue, 12 Dec 2017 02:30:50 +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 vBC2UnrA088219; Tue, 12 Dec 2017 02:30:49 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vBC2Undg088218; Tue, 12 Dec 2017 02:30:49 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201712120230.vBC2Undg088218@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:30:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r456077 - head/dns/packetq X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: head/dns/packetq X-SVN-Commit-Revision: 456077 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:30:51 -0000 Author: jbeich Date: Tue Dec 12 02:30:49 2017 New Revision: 456077 URL: https://svnweb.freebsd.org/changeset/ports/456077 Log: dns/packetq: require C++11 toolchain (on powerpc*, mips*, sparc*) cc1plus: error: unrecognized command line option "-std=c++0x" In file included from dns.cpp:22: In file included from ./dns.h:31: In file included from ./packet_handler.h:33: In file included from ./sql.h:43: ./variant.h:297:34: error: expected '(' for function-style cast or type construction return std::hash()(m_val.m_bool); ~~~~^ ./variant.h:297:20: error: no member named 'hash' in namespace 'std'; did you mean simply 'hash'? return std::hash()(m_val.m_bool); ^~~~~~~~~ hash ./variant.h:293:17: note: 'hash' declared here std::size_t hash() const ^ ./variant.h:297:36: error: expected expression return std::hash()(m_val.m_bool); ^ ./variant.h:299:33: error: expected '(' for function-style cast or type construction return std::hash()(m_val.m_int); ~~~^ ./variant.h:299:20: error: no member named 'hash' in namespace 'std'; did you mean simply 'hash'? return std::hash()(m_val.m_int); ^~~~~~~~~ hash ./variant.h:293:17: note: 'hash' declared here std::size_t hash() const ^ ./variant.h:299:35: error: expected expression return std::hash()(m_val.m_int); ^ ./variant.h:301:35: error: expected '(' for function-style cast or type construction return std::hash()(m_val.m_float); ~~~~~^ ./variant.h:301:20: error: no member named 'hash' in namespace 'std'; did you mean simply 'hash'? return std::hash()(m_val.m_float); ^~~~~~~~~ hash ./variant.h:293:17: note: 'hash' declared here std::size_t hash() const ^ ./variant.h:301:37: error: expected expression return std::hash()(m_val.m_float); ^ In file included from dns.cpp:22: In file included from ./dns.h:31: In file included from ./packet_handler.h:33: ./sql.h:1766:8: error: explicit specialization of non-template struct 'hash' struct hash > { ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10 errors generated. Reported by: pkg-fallout (mips64) Modified: head/dns/packetq/Makefile (contents, props changed) Modified: head/dns/packetq/Makefile ============================================================================== --- head/dns/packetq/Makefile Tue Dec 12 02:22:10 2017 (r456076) +++ head/dns/packetq/Makefile Tue Dec 12 02:30:49 2017 (r456077) @@ -16,7 +16,7 @@ GH_ACCOUNT= DNS-OARC GH_PROJECT= PacketQ USE_GITHUB= yes -USES= autoreconf +USES= autoreconf compiler:c++11-lib GNU_CONFIGURE= yes OPTIONS_DEFINE= DOCS