public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: kde-apps/ktimetracker/files/, kde-apps/ktimetracker/
Date: Mon, 18 Sep 2017 21:24:24 +0000 (UTC)	[thread overview]
Message-ID: <1505769851.06d2c556626ba9d7f9de1dfee2e1d3b06d9c6c22.asturm@gentoo> (raw)

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"


                 reply	other threads:[~2017-09-18 21:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1505769851.06d2c556626ba9d7f9de1dfee2e1d3b06d9c6c22.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox