svn commit: r307675 - head/deskutils/kdepimlibs4/files

Kevin Lo kevlo at FreeBSD.org
Fri Nov 23 09:20:27 UTC 2012


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;


More information about the svn-ports-head mailing list