aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2012-11-23 17:20:27 +0800
committerkevlo <kevlo@FreeBSD.org>2012-11-23 17:20:27 +0800
commit22cf2a68da20cd20fcd1b0ab84b523de3901d4d7 (patch)
tree689d94275fb4a672d8d8b6a8d80bf142b20d96a4 /deskutils
parent54aa85b037494fe869657c1fe17c03c431f4c0d4 (diff)
downloadfreebsd-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.cpp12
-rw-r--r--deskutils/kdepimlibs4/files/patch-kcalcore__vcalformat.cpp22
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;