summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-09-21 10:21:19 +0200
committerDavid Seifert <soap@gentoo.org>2020-09-21 10:21:19 +0200
commit8ed5329c23c1bfbd4e023cd1e0c787c7a303cfb2 (patch)
tree2c19e1b256b35bd553414fac1e363058d367efc1 /sci-libs
parentapp-emacs/org-mode: Version bump to 9.4. (diff)
downloadgentoo-8ed5329c23c1bfbd4e023cd1e0c787c7a303cfb2.tar.gz
gentoo-8ed5329c23c1bfbd4e023cd1e0c787c7a303cfb2.tar.bz2
gentoo-8ed5329c23c1bfbd4e023cd1e0c787c7a303cfb2.zip
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@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/plplot/files/plplot-5.15.0-QPainterPath-include.patch10
-rw-r--r--sci-libs/plplot/plplot-5.15.0-r1.ebuild1
2 files changed, 11 insertions, 0 deletions
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 000000000000..3c6b85b1714e
--- /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 f0f9d5c4247a..7f16c4d0e29c 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() {