summaryrefslogtreecommitdiff
path: root/libraries/libvmime-zarafa/zarafa-patches/vmime-timezone-name.diff
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libvmime-zarafa/zarafa-patches/vmime-timezone-name.diff')
-rw-r--r--libraries/libvmime-zarafa/zarafa-patches/vmime-timezone-name.diff21
1 files changed, 21 insertions, 0 deletions
diff --git a/libraries/libvmime-zarafa/zarafa-patches/vmime-timezone-name.diff b/libraries/libvmime-zarafa/zarafa-patches/vmime-timezone-name.diff
new file mode 100644
index 0000000000..450d2e1053
--- /dev/null
+++ b/libraries/libvmime-zarafa/zarafa-patches/vmime-timezone-name.diff
@@ -0,0 +1,21 @@
+diff -Nurb libvmime-0.7.1.orig/src/dateTime.cpp libvmime-0.7.1/src/dateTime.cpp
+--- libvmime-0.7.1.orig/src/dateTime.cpp 2005-04-23 11:02:48.000000000 +0200
++++ libvmime-0.7.1/src/dateTime.cpp 2009-01-08 10:51:39.000000000 +0100
+@@ -423,7 +423,7 @@
+ zone[zoneLength++] = *p;
+ ++p;
+ }
+- while (zoneLength < 3 && p < pend && parserHelpers::isDigit(*p));
++ while (zoneLength < 3 && p < pend);
+
+ switch (zone[0])
+ {
+@@ -487,6 +487,8 @@
+
+ break;
+ }
++ case 'g':
++ case 'G':
+ case 'u':
+ case 'U':
+ {