commit:     8ed5329c23c1bfbd4e023cd1e0c787c7a303cfb2
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 21 08:21:19 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Sep 21 08:21:19 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ed5329c

sci-libs/plplot: Fix #include <QPainterPath>

Closes: https://bugs.gentoo.org/743166
Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sci-libs/plplot/files/plplot-5.15.0-QPainterPath-include.patch | 10 ++++++++++
 sci-libs/plplot/plplot-5.15.0-r1.ebuild                        |  1 +
 2 files changed, 11 insertions(+)

diff --git a/sci-libs/plplot/files/plplot-5.15.0-QPainterPath-include.patch 
b/sci-libs/plplot/files/plplot-5.15.0-QPainterPath-include.patch
new file mode 100644
index 00000000000..3c6b85b1714
--- /dev/null
+++ b/sci-libs/plplot/files/plplot-5.15.0-QPainterPath-include.patch
@@ -0,0 +1,10 @@
+--- a/include/qt.h
++++ b/include/qt.h
+@@ -67,6 +67,7 @@
+ #include <QMainWindow>
+ #include <QPicture>
+ #include <QMutex>
++#include <QPainterPath>
+ 
+ #include "plDevs.h"
+ #include "plplotP.h"

diff --git a/sci-libs/plplot/plplot-5.15.0-r1.ebuild 
b/sci-libs/plplot/plplot-5.15.0-r1.ebuild
index f0f9d5c4247..7f16c4d0e29 100644
--- a/sci-libs/plplot/plplot-5.15.0-r1.ebuild
+++ b/sci-libs/plplot/plplot-5.15.0-r1.ebuild
@@ -108,6 +108,7 @@ PATCHES=(
        "${FILESDIR}"/${PN}-5.15.0-multiarch.patch
        "${FILESDIR}"/${PN}-5.15.0-ocaml.patch
        "${FILESDIR}"/${PN}-5.12.0-safe-string.patch
+       "${FILESDIR}"/${PN}-5.15.0-QPainterPath-include.patch
 )
 
 pkg_setup() {

Reply via email to