kde-apps/kdepim-kresources: Fix build with GCC-6.3.0
authorAndreas Sturmlechner <asturm@gentoo.org>
Sun, 10 Sep 2017 14:31:27 +0000 (16:31 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 10 Sep 2017 14:43:22 +0000 (16:43 +0200)
Package-Manager: Portage-2.3.8, Repoman-2.3.3

kde-apps/kdepim-kresources/files/kdepim-kresources-4.4.2017.04-gcc-6.3.patch [new file with mode: 0644]
kde-apps/kdepim-kresources/kdepim-kresources-4.4.2017.04.ebuild

diff --git a/kde-apps/kdepim-kresources/files/kdepim-kresources-4.4.2017.04-gcc-6.3.patch b/kde-apps/kdepim-kresources/files/kdepim-kresources-4.4.2017.04-gcc-6.3.patch
new file mode 100644 (file)
index 0000000..12032ce
--- /dev/null
@@ -0,0 +1,25 @@
+From 7fad3a742a0d825113bdbad92086159f70111b13 Mon Sep 17 00:00:00 2001
+From: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
+Date: Sun, 10 Sep 2017 16:09:07 +0200
+Subject: [PATCH 1/2] kresources: Fix build with GCC-6.3.0
+
+---
+ kresources/groupwise/soap/incidenceconverter.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/kresources/groupwise/soap/incidenceconverter.cpp b/kresources/groupwise/soap/incidenceconverter.cpp
+index 12104bf8ac..a2b6c645ca 100644
+--- a/kresources/groupwise/soap/incidenceconverter.cpp
++++ b/kresources/groupwise/soap/incidenceconverter.cpp
+@@ -462,7 +462,7 @@ void IncidenceConverter::setAttendees( KCal::Incidence *incidence,
+   item->distribution->sendoptions->statusTracking = soap_new_ngwt__StatusTracking( soap(),
+     -1 );
+ 
+-  item->distribution->sendoptions->statusTracking->autoDelete = false;
++  item->distribution->sendoptions->statusTracking->autoDelete = NULL;
+   item->distribution->sendoptions->statusTracking->__item = All_;
+ 
+   item->distribution->recipients = soap_new_ngwt__RecipientList( soap(), -1 );
+-- 
+2.14.1
+
index 667ef7a7cebeafef131b22b1695e32babe6af195..dbae1fa187365876e5a4d3695a797d66a2ca0078 100644 (file)
@@ -21,6 +21,8 @@ DEPEND="
 "
 RDEPEND="${DEPEND}"
 
+PATCHES=( "${FILESDIR}/${P}-gcc-6.3.patch" )
+
 KMEXTRACTONLY="
        kaddressbook/common/
        kmail/