public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: kde-apps/ktimetracker/files/, kde-apps/ktimetracker/
@ 2017-09-18 21:24 Andreas Sturmlechner
  0 siblings, 0 replies; only message in thread
From: Andreas Sturmlechner @ 2017-09-18 21:24 UTC (permalink / raw
  To: gentoo-commits

commit:     06d2c556626ba9d7f9de1dfee2e1d3b06d9c6c22
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 18 21:21:12 2017 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Sep 18 21:24:11 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06d2c556

kde-apps/ktimetracker: Fix build with GCC-6.3.0

Thanks-to: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache.Org>
Package-Manager: Portage-2.3.8, Repoman-2.3.3

 .../ktimetracker/files/ktimetracker-4.4.2017.04-gcc-6.3.patch | 11 +++++++++++
 kde-apps/ktimetracker/ktimetracker-4.4.2017.04.ebuild         |  2 ++
 2 files changed, 13 insertions(+)

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 00000000000..070514e1561
--- /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 5a386c88f2a..c27e63e8925 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"


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-09-18 21:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-18 21:24 [gentoo-commits] repo/gentoo:master commit in: kde-apps/ktimetracker/files/, kde-apps/ktimetracker/ Andreas Sturmlechner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox