From owner-svn-ports-head@FreeBSD.ORG Sat Jun 1 20:20:19 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 107AD87A; Sat, 1 Jun 2013 20:20:19 +0000 (UTC) (envelope-from rakuco@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 01B39DCC; Sat, 1 Jun 2013 20:20:19 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r51KKIlG095303; Sat, 1 Jun 2013 20:20:18 GMT (envelope-from rakuco@svn.freebsd.org) Received: (from rakuco@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r51KKI3B095302; Sat, 1 Jun 2013 20:20:18 GMT (envelope-from rakuco@svn.freebsd.org) Message-Id: <201306012020.r51KKI3B095302@svn.freebsd.org> From: Raphael Kubo da Costa Date: Sat, 1 Jun 2013 20:20:18 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r319588 - head/sysutils/xstow/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-head@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 01 Jun 2013 20:20:19 -0000 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(""); + +- return s2x(s); ++ return s2x(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 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 );