From: Andreas Sturmlechner Date: Mon, 18 Sep 2017 21:21:12 +0000 (+0200) Subject: kde-apps/ktimetracker: Fix build with GCC-6.3.0 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=06d2c556626ba9d7f9de1dfee2e1d3b06d9c6c22;p=gentoo.git kde-apps/ktimetracker: Fix build with GCC-6.3.0 Thanks-to: Arfrever Frehtes Taifersar Arahesis Package-Manager: Portage-2.3.8, Repoman-2.3.3 --- diff --git a/kde-apps/ktimetracker/files/ktimetracker-4.4.2017.04-gcc-6.3.patch b/kde-apps/ktimetracker/files/ktimetracker-4.4.2017.04-gcc-6.3.patch new file mode 100644 index 000000000000..070514e15616 --- /dev/null +++ b/kde-apps/ktimetracker/files/ktimetracker-4.4.2017.04-gcc-6.3.patch @@ -0,0 +1,11 @@ +--- a/ktimetracker/taskview.cpp ++++ b/ktimetracker/taskview.cpp +@@ -840,7 +840,7 @@ + + void TaskView::newTask( const QString &caption, Task *parent ) + { +- EditTaskDialog *dialog = new EditTaskDialog( this, caption, false ); ++ EditTaskDialog *dialog = new EditTaskDialog( this, caption, NULL ); + long total, totalDiff, session, sessionDiff; + DesktopList desktopList; + diff --git a/kde-apps/ktimetracker/ktimetracker-4.4.2017.04.ebuild b/kde-apps/ktimetracker/ktimetracker-4.4.2017.04.ebuild index 5a386c88f2a8..c27e63e89250 100644 --- a/kde-apps/ktimetracker/ktimetracker-4.4.2017.04.ebuild +++ b/kde-apps/ktimetracker/ktimetracker-4.4.2017.04.ebuild @@ -30,6 +30,8 @@ KMEXTRACTONLY=" KMLOADLIBS="libkdepim" +PATCHES=( "${FILESDIR}/${P}-gcc-6.3.patch" ) + src_unpack() { if use kontact; then KMEXTRA="${KMEXTRA} kontact/plugins/ktimetracker"