Date: Tue, 24 Sep 2013 13:03:52 +0000 (UTC) From: Alexander Nedotsukov <bland@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r328126 - head/devel/glademm/files Message-ID: <201309241303.r8OD3qxL084181@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bland Date: Tue Sep 24 13:03:52 2013 New Revision: 328126 URL: http://svnweb.freebsd.org/changeset/ports/328126 Log: Fix build with clang. Added: head/devel/glademm/files/patch-src__TagStream.cc (contents, props changed) Added: head/devel/glademm/files/patch-src__TagStream.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/glademm/files/patch-src__TagStream.cc Tue Sep 24 13:03:52 2013 (r328126) @@ -0,0 +1,25 @@ +--- src/TagStream.cc.orig 2013-09-24 21:52:55.000000000 +0900 ++++ src/TagStream.cc 2013-09-24 21:55:38.000000000 +0900 +@@ -20,7 +20,8 @@ + #include "TagStream.hh" + #include <cstring> + #include <unistd.h> +-#include <algo.h> ++#include <algorithm> ++#include <iostream> + + //#define REMEMBER_EMPTY_SPACE + +@@ -73,10 +74,10 @@ + { std::string ret; + std::string::const_iterator i(cont.begin()); + while (i!=cont.end()) +- { std::string::const_iterator verbatim(::find(i,cont.end(),'&')); ++ { std::string::const_iterator verbatim(std::find(i,cont.end(),'&')); + ret+=std::string(i,verbatim); + if (verbatim!=cont.end()) +- { std::string::const_iterator endtag(::find(verbatim,cont.end(),';')); ++ { std::string::const_iterator endtag(std::find(verbatim,cont.end(),';')); + if (endtag!=cont.end()) ++endtag; + std::string tag(verbatim,endtag); + if (tag[1]=='#' && tag[2]=='x')
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309241303.r8OD3qxL084181>