From owner-svn-ports-all@FreeBSD.ORG Fri Sep 27 16:26:12 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 7A61CA71; Fri, 27 Sep 2013 16:26:12 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6792E2C2B; Fri, 27 Sep 2013 16:26:12 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r8RGQCrh005286; Fri, 27 Sep 2013 16:26:12 GMT (envelope-from madpilot@svn.freebsd.org) Received: (from madpilot@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r8RGQCZv005284; Fri, 27 Sep 2013 16:26:12 GMT (envelope-from madpilot@svn.freebsd.org) Message-Id: <201309271626.r8RGQCZv005284@svn.freebsd.org> From: Guido Falsi Date: Fri, 27 Sep 2013 16:26:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r328499 - head/games/netpanzer/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Sep 2013 16:26:12 -0000 Author: madpilot Date: Fri Sep 27 16:26:11 2013 New Revision: 328499 URL: http://svnweb.freebsd.org/changeset/ports/328499 Log: Fix build with clang/libc++ on head. Provided by: gahr Added: head/games/netpanzer/files/patch-src_Lib_optionmm_command_line.hpp (contents, props changed) Added: head/games/netpanzer/files/patch-src_Lib_optionmm_command_line.hpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/netpanzer/files/patch-src_Lib_optionmm_command_line.hpp Fri Sep 27 16:26:11 2013 (r328499) @@ -0,0 +1,17 @@ +--- src/Lib/optionmm/command_line.hpp.orig 2013-09-27 10:31:25.000000000 +0200 ++++ src/Lib/optionmm/command_line.hpp 2013-09-27 10:38:10.000000000 +0200 +@@ -212,7 +212,13 @@ + { + x = !x; + } +-#if defined(__GNUC__) && __GNUC__ >= 2 ++ ++#if defined(__clang__) ++ inline void operator()(std::__bit_reference > x) ++ { ++ x.flip(); ++ } ++#elif defined(__GNUC__) && __GNUC__ >= 2 + inline void operator()(std::_Bit_reference x) + { + x.flip();