diff options
author | kevlo <kevlo@FreeBSD.org> | 2012-11-23 17:20:27 +0800 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2012-11-23 17:20:27 +0800 |
commit | 22cf2a68da20cd20fcd1b0ab84b523de3901d4d7 (patch) | |
tree | 689d94275fb4a672d8d8b6a8d80bf142b20d96a4 /deskutils | |
parent | 54aa85b037494fe869657c1fe17c03c431f4c0d4 (diff) | |
download | freebsd-ports-graphics-22cf2a68da20cd20fcd1b0ab84b523de3901d4d7.tar.gz freebsd-ports-graphics-22cf2a68da20cd20fcd1b0ab84b523de3901d4d7.tar.zst freebsd-ports-graphics-22cf2a68da20cd20fcd1b0ab84b523de3901d4d7.zip |
Fix build with clang.
Feature safe: yes
Diffstat (limited to 'deskutils')
-rw-r--r-- | deskutils/kdepimlibs4/files/patch-kcal__vcalformat.cpp | 12 | ||||
-rw-r--r-- | deskutils/kdepimlibs4/files/patch-kcalcore__vcalformat.cpp | 22 |
2 files changed, 34 insertions, 0 deletions
diff --git a/deskutils/kdepimlibs4/files/patch-kcal__vcalformat.cpp b/deskutils/kdepimlibs4/files/patch-kcal__vcalformat.cpp new file mode 100644 index 00000000000..8dc3bc4e9d8 --- /dev/null +++ b/deskutils/kdepimlibs4/files/patch-kcal__vcalformat.cpp @@ -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; diff --git a/deskutils/kdepimlibs4/files/patch-kcalcore__vcalformat.cpp b/deskutils/kdepimlibs4/files/patch-kcalcore__vcalformat.cpp new file mode 100644 index 00000000000..227415512b2 --- /dev/null +++ b/deskutils/kdepimlibs4/files/patch-kcalcore__vcalformat.cpp @@ -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; |