summaryrefslogtreecommitdiffstats
path: root/office/abiword
diff options
context:
space:
mode:
author Matteo Bernardini2018-10-13 14:03:53 +0200
committer Matteo Bernardini2018-10-13 14:03:53 +0200
commit90a1c3817bd979d30eef880f5cbbdab1fdc96b69 (patch)
tree1a33d8fc1b5d12da92df48dd63c822804617a5f2 /office/abiword
parente508b015d1f32339a2049795d646af143139eb87 (diff)
downloadslackbuilds-7424207a1aea64da50cbca581175c22ae9d72f22.tar.gz
20181013.1 global branch merge.current-20181013.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'office/abiword')
-rw-r--r--office/abiword/abiword.SlackBuild2
-rw-r--r--office/abiword/libical-deprecated.patch13
2 files changed, 15 insertions, 0 deletions
diff --git a/office/abiword/abiword.SlackBuild b/office/abiword/abiword.SlackBuild
index 77fdffe278..d3c9925d88 100644
--- a/office/abiword/abiword.SlackBuild
+++ b/office/abiword/abiword.SlackBuild
@@ -80,6 +80,8 @@ find -L . \
# https://bugs.archlinux.org/task/46659
patch -p1 < $CWD/bug13815.patch
+patch -p1 < $CWD/libical-deprecated.patch
+
CPPFLAGS="-I$TMP/$PRGNAM-$VERSION" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS -std=c++11" \
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() );