public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Palimaka" <kensington@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-visualization/kst/files/, sci-visualization/kst/
Date: Wed, 14 Sep 2016 20:45:30 +0000 (UTC)	[thread overview]
Message-ID: <1473885917.4b5177e5aed652c708c074cf08c002ce27862474.kensington@gentoo> (raw)

commit:     4b5177e5aed652c708c074cf08c002ce27862474
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 14 20:45:03 2016 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Wed Sep 14 20:45:17 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b5177e5

sci-visualization/kst: add patch to fix build failure with USE="qt5"

Gentoo-bug: 587948

Package-Manager: portage-2.3.0

 .../kst/files/kst-2.0.8-includes.patch             | 25 ++++++++++++++++++++++
 sci-visualization/kst/kst-2.0.8.ebuild             |  1 +
 2 files changed, 26 insertions(+)

diff --git a/sci-visualization/kst/files/kst-2.0.8-includes.patch b/sci-visualization/kst/files/kst-2.0.8-includes.patch
new file mode 100644
index 00000000..113d9dc
--- /dev/null
+++ b/sci-visualization/kst/files/kst-2.0.8-includes.patch
@@ -0,0 +1,25 @@
+Add missing includes required for Qt 5 build to succeed.
+
+Author: David Carne <davidcarne@gmail.com>
+Gentoo-bug: 587948
+
+--- a/src/libkst/editablematrix.cpp
++++ b/src/libkst/editablematrix.cpp
+@@ -19,6 +19,7 @@
+ #include "debug.h"
+ #include <qbytearray.h>
+ #include <QXmlStreamWriter>
++#include <QDataStream>
+ 
+ namespace Kst {
+ 
+--- a/src/libkst/editablevector.cpp
++++ b/src/libkst/editablevector.cpp
+@@ -18,6 +18,7 @@
+ // Create QDataStream into a QByteArray
+ // qCompress the bytearray
+ #include <QXmlStreamWriter>
++#include <QDataStream>
+ 
+ #include "debug.h"
+ namespace Kst {

diff --git a/sci-visualization/kst/kst-2.0.8.ebuild b/sci-visualization/kst/kst-2.0.8.ebuild
index 5d2eafa..2d368b8 100644
--- a/sci-visualization/kst/kst-2.0.8.ebuild
+++ b/sci-visualization/kst/kst-2.0.8.ebuild
@@ -53,6 +53,7 @@ DEPEND="${RDEPEND}
 S=${WORKDIR}/${MY_P}
 
 DOCS=( AUTHORS README.kstScript )
+PATCHES=( "${FILESDIR}/${P}-includes.patch" )
 
 src_configure() {
 	local mycmakeargs=(


             reply	other threads:[~2016-09-14 20:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-14 20:45 Michael Palimaka [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-06-12  7:33 [gentoo-commits] repo/gentoo:master commit in: sci-visualization/kst/files/, sci-visualization/kst/ Andreas Sturmlechner
2021-09-07 12:52 Andreas Sturmlechner

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=1473885917.4b5177e5aed652c708c074cf08c002ce27862474.kensington@gentoo \
    --to=kensington@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