summaryrefslogtreecommitdiffstats
path: root/office/abiword/libical-deprecated.patch
diff options
context:
space:
mode:
author Matteo Bernardini2020-02-24 11:30:13 +0100
committer Matteo Bernardini2020-02-24 11:30:13 +0100
commit27811f4c33fd0b9a2e7ea64a4fbf4969d4e56bd4 (patch)
tree3887c02a1345299dccb436665f332db2411deec8 /office/abiword/libical-deprecated.patch
parent5de2bc5ab8f479fb924d4c5b543c6e0a37999431 (diff)
downloadslackbuilds-27811f4c33fd0b9a2e7ea64a4fbf4969d4e56bd4.tar.gz
20200224.1 global branch merge.current-20200224.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'office/abiword/libical-deprecated.patch')
-rw-r--r--office/abiword/libical-deprecated.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/office/abiword/libical-deprecated.patch b/office/abiword/libical-deprecated.patch
new file mode 100644
index 0000000000..9ca15bee12
--- /dev/null
+++ b/office/abiword/libical-deprecated.patch
@@ -0,0 +1,13 @@
+--- abiword-3.0.2/src/text/ptbl/xp/pd_DocumentRDF.cpp.orig 2015-04-02 03:09:20.000000000 +0000
++++ abiword-3.0.2/src/text/ptbl/xp/pd_DocumentRDF.cpp 2017-11-19 22:57:49.533304878 +0000
+@@ -2269,8 +2269,8 @@
+ icalcomponent_set_uid( c, m_uid.c_str() );
+ icalcomponent_set_location( c, m_location.c_str() );
+ icalcomponent_set_description( c, m_desc.c_str() );
+- icalcomponent_set_dtstart( c, icaltime_from_timet( m_dtstart, 0 ) );
+- icalcomponent_set_dtend( c, icaltime_from_timet( m_dtend, 0 ) );
++ icalcomponent_set_dtstart( c, icaltime_from_timet_with_zone( m_dtstart, 0, 0 ) );
++ icalcomponent_set_dtend( c, icaltime_from_timet_with_zone( m_dtend, 0, 0 ) );
+
+ char* data = icalcomponent_as_ical_string( c );
+ std::ofstream oss( filename.c_str() );