Date: Fri, 23 Nov 2012 09:20:27 +0000 (UTC) From: Kevin Lo <kevlo@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r307675 - head/deskutils/kdepimlibs4/files Message-ID: <201211230920.qAN9KR5K080565@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kevlo Date: Fri Nov 23 09:20:27 2012 New Revision: 307675 URL: http://svnweb.freebsd.org/changeset/ports/307675 Log: Fix build with clang. Feature safe: yes Added: head/deskutils/kdepimlibs4/files/patch-kcal__vcalformat.cpp (contents, props changed) head/deskutils/kdepimlibs4/files/patch-kcalcore__vcalformat.cpp (contents, props changed) Added: head/deskutils/kdepimlibs4/files/patch-kcal__vcalformat.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/deskutils/kdepimlibs4/files/patch-kcal__vcalformat.cpp Fri Nov 23 09:20:27 2012 (r307675) @@ -0,0 +1,12 @@ +--- kcal/vcalformat.cpp.orig 2012-11-23 17:05:03.000000000 +0800 ++++ kcal/vcalformat.cpp 2012-11-23 17:05:32.000000000 +0800 +@@ -1029,8 +1029,7 @@ + if ( ( vo = isAPropertyOf( vevent, VCRRuleProp ) ) != 0 ) { + QString tmpStr = ( s = fakeCString( vObjectUStringZValue( vo ) ) ); + deleteStr( s ); +- tmpStr.simplified(); +- tmpStr = tmpStr.toUpper(); ++ tmpStr = tmpStr.simplified().toUpper(); + + // first, read the type of the recurrence + int typelen = 1; Added: head/deskutils/kdepimlibs4/files/patch-kcalcore__vcalformat.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/deskutils/kdepimlibs4/files/patch-kcalcore__vcalformat.cpp Fri Nov 23 09:20:27 2012 (r307675) @@ -0,0 +1,22 @@ +--- kcalcore/vcalformat.cpp.orig 2012-11-23 17:03:35.000000000 +0800 ++++ kcalcore/vcalformat.cpp 2012-11-23 17:04:14.000000000 +0800 +@@ -1190,8 +1190,7 @@ + if ( ( vo = isAPropertyOf( vtodo, VCRRuleProp ) ) != 0 ) { + QString tmpStr = ( s = fakeCString( vObjectUStringZValue( vo ) ) ); + deleteStr( s ); +- tmpStr.simplified(); +- tmpStr = tmpStr.toUpper(); ++ tmpStr = tmpStr.simplified().toUpper(); + // first, read the type of the recurrence + int typelen = 1; + uint type = Recurrence::rNone; +@@ -1674,8 +1673,7 @@ + if ( ( vo = isAPropertyOf( vevent, VCRRuleProp ) ) != 0 ) { + QString tmpStr = ( s = fakeCString( vObjectUStringZValue( vo ) ) ); + deleteStr( s ); +- tmpStr.simplified(); +- tmpStr = tmpStr.toUpper(); ++ tmpStr = tmpStr.simplified().toUpper(); + // first, read the type of the recurrence + int typelen = 1; + uint type = Recurrence::rNone;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211230920.qAN9KR5K080565>