Date: Sat, 1 Jun 2013 20:20:18 +0000 (UTC) From: Raphael Kubo da Costa <rakuco@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r319588 - head/sysutils/xstow/files Message-ID: <201306012020.r51KKI3B095302@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rakuco Date: Sat Jun 1 20:20:18 2013 New Revision: 319588 URL: http://svnweb.freebsd.org/changeset/ports/319588 Log: Add a few patches to let the port build with clang. Added: head/sysutils/xstow/files/ head/sysutils/xstow/files/patch-src__leoini.h (contents, props changed) head/sysutils/xstow/files/patch-src__string_utils.h (contents, props changed) Added: head/sysutils/xstow/files/patch-src__leoini.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/xstow/files/patch-src__leoini.h Sat Jun 1 20:20:18 2013 (r319588) @@ -0,0 +1,16 @@ +--- src/leoini.h~ 2013-06-01 22:28:45.000000000 +0300 ++++ src/leoini.h 2013-06-01 22:32:05.000000000 +0300 +@@ -260,11 +260,9 @@ + + if( start == std::string::npos || + end == std::string::npos ) +- s = ""; +- else +- s = s.substr( start+1, start-end -1 ); ++ return s2x<A>(""); + +- return s2x<A>(s); ++ return s2x<A>(s.substr( start+1, start-end -1 )); + } + } // namespace Leo + Added: head/sysutils/xstow/files/patch-src__string_utils.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/xstow/files/patch-src__string_utils.h Sat Jun 1 20:20:18 2013 (r319588) @@ -0,0 +1,12 @@ +--- src/string_utils.h~ 2013-06-01 23:10:50.000000000 +0300 ++++ src/string_utils.h 2013-06-01 22:56:43.000000000 +0300 +@@ -28,6 +28,9 @@ + # define STRSTREAM + #endif + ++typedef std::vector<std::string> vec_string; ++std::ostream& operator<<( std::ostream& out, const vec_string &v ); ++ + std::string toupper( std::string s ); + std::string strip( const std::string& str, const std::string& what = " \t\n\0" ); + bool is_int( const std::string &s );
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306012020.r51KKI3B095302>