abiword: Add patch from Debian to fix building with libical 3

Signed-off-by: Adrian Bunk <bunk@stusta.de>
This commit is contained in:
Adrian Bunk
2019-08-12 11:57:18 +03:00
parent c884be599b
commit 3c7cfedbaf
2 changed files with 16 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
Index: src/text/ptbl/xp/pd_DocumentRDF.cpp
===================================================================
--- a/src/text/ptbl/xp/pd_DocumentRDF.cpp (revision 35456)
+++ b/src/text/ptbl/xp/pd_DocumentRDF.cpp (revision 35457)
@@ -2266,8 +2266,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, NULL ) );
+ icalcomponent_set_dtend( c, icaltime_from_timet_with_zone( m_dtend, 0, NULL ) );
char* data = icalcomponent_as_ical_string( c );
std::ofstream oss( filename.c_str() );

View File

@@ -27,6 +27,7 @@ RCONFLICTS_${PN} = "${PN}-embedded"
SRC_URI = "http://www.abisource.com/downloads/${BPN}/${PV}/source/${BP}.tar.gz \
file://0001-plugins-aiksaurus-Makefile.am-remove-uncomplete-opti.patch \
file://0001-Bug-13770-Require-C-11-from-now-on.patch \
file://libical3.patch \
"
LIC_FILES_CHKSUM = "file://COPYING;md5=c5edcc3ccd864b19004d14e9c1c9a26a"