Date: Fri, 27 Sep 2013 16:26:12 +0000 (UTC) From: Guido Falsi <madpilot@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r328499 - head/games/netpanzer/files Message-ID: <201309271626.r8RGQCZv005284@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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<std::vector<bool> > x) ++ { ++ x.flip(); ++ } ++#elif defined(__GNUC__) && __GNUC__ >= 2 + inline void operator()(std::_Bit_reference x) + { + x.flip();
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309271626.r8RGQCZv005284>