summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-06-21 19:28:20 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-06-22 20:31:26 +0200
commitae5836a1f3059809069c07510c3ed960492accfe (patch)
treeeb55e10be6323660cb4797a8a18757dc285a74ef /media-libs/qtav
parentmedia-gfx/meshlab: Fix build with Qt 5.15 (diff)
downloadgentoo-ae5836a1f3059809069c07510c3ed960492accfe.tar.gz
gentoo-ae5836a1f3059809069c07510c3ed960492accfe.tar.bz2
gentoo-ae5836a1f3059809069c07510c3ed960492accfe.zip
media-libs/qtav: Fix build with Qt 5.15
Reported-by: Daniel Rammelt <d.rammelt@icloud.com> Closes: https://bugs.gentoo.org/727410 Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-libs/qtav')
-rw-r--r--media-libs/qtav/files/qtav-1.12.0-qt5.15.patch22
-rw-r--r--media-libs/qtav/qtav-1.12.0-r2.ebuild1
2 files changed, 23 insertions, 0 deletions
diff --git a/media-libs/qtav/files/qtav-1.12.0-qt5.15.patch b/media-libs/qtav/files/qtav-1.12.0-qt5.15.patch
new file mode 100644
index 000000000000..a992f59fac31
--- /dev/null
+++ b/media-libs/qtav/files/qtav-1.12.0-qt5.15.patch
@@ -0,0 +1,22 @@
+From 5263d9d9ee29303a919d33d52b15acda554226c5 Mon Sep 17 00:00:00 2001
+From: rezso <rezso@rezso.net>
+Date: Mon, 1 Jun 2020 13:30:21 +0200
+Subject: [PATCH] Fix build with Qt 5.15
+
+Solves https://github.com/wang-bin/QtAV/issues/1309
+---
+ src/QtAV/FilterContext.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/QtAV/FilterContext.h b/src/QtAV/FilterContext.h
+index 6d2f9a041..7cc2fc1c5 100644
+--- a/src/QtAV/FilterContext.h
++++ b/src/QtAV/FilterContext.h
+@@ -26,6 +26,7 @@
+ #include <QtCore/QByteArray>
+ #include <QtCore/QRect>
+ #include <QtGui/QPainter>
++#include <QtGui/QPainterPath>
+ /*
+ * QPainterFilterContext, D2DFilterContext, ...
+ */
diff --git a/media-libs/qtav/qtav-1.12.0-r2.ebuild b/media-libs/qtav/qtav-1.12.0-r2.ebuild
index 93df9f4f72ca..e9b3bbd54aeb 100644
--- a/media-libs/qtav/qtav-1.12.0-r2.ebuild
+++ b/media-libs/qtav/qtav-1.12.0-r2.ebuild
@@ -37,6 +37,7 @@ PATCHES=(
"${FILESDIR}"/${P}-installpaths.patch
"${FILESDIR}"/${P}-ffmpeg4-{1,2}.patch # bugs 660852, 670765
"${FILESDIR}"/${P}-qt5.14.patch
+ "${FILESDIR}"/${P}-qt5.15.patch
)
src_prepare() {