diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-08-17 23:15:29 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-08-18 00:02:02 +0200 |
commit | 3fded280bebd469895db6adefa8b2394309eddca (patch) | |
tree | e310dc26843e83bf7d8b8661b0d7ce5b38f24b50 /media-libs/avidemux-plugins | |
parent | app-misc/recoll: 1.24.1 version bump, fix build with Qt 5.11 (diff) | |
download | gentoo-3fded280bebd469895db6adefa8b2394309eddca.tar.gz gentoo-3fded280bebd469895db6adefa8b2394309eddca.tar.bz2 gentoo-3fded280bebd469895db6adefa8b2394309eddca.zip |
media-libs/avidemux-plugins: Fix build with Qt 5.11
Closes: https://bugs.gentoo.org/659330
Package-Manager: Portage-2.3.46, Repoman-2.3.10
Diffstat (limited to 'media-libs/avidemux-plugins')
-rw-r--r-- | media-libs/avidemux-plugins/avidemux-plugins-2.7.0.ebuild | 5 | ||||
-rw-r--r-- | media-libs/avidemux-plugins/files/avidemux-plugins-2.7.0-qt-5.11.patch | 48 |
2 files changed, 52 insertions, 1 deletions
diff --git a/media-libs/avidemux-plugins/avidemux-plugins-2.7.0.ebuild b/media-libs/avidemux-plugins/avidemux-plugins-2.7.0.ebuild index 2556ab1d6c62..1c70e135cbf6 100644 --- a/media-libs/avidemux-plugins/avidemux-plugins-2.7.0.ebuild +++ b/media-libs/avidemux-plugins/avidemux-plugins-2.7.0.ebuild @@ -83,7 +83,10 @@ RDEPEND="${COMMON_DEPEND} S="${WORKDIR}/${MY_P}" -PATCHES=( "${FILESDIR}"/${PN}-2.6.20-optional-pulse.patch ) +PATCHES=( + "${FILESDIR}"/${PN}-2.6.20-optional-pulse.patch + "${FILESDIR}"/${P}-qt-5.11.patch +) src_prepare() { default diff --git a/media-libs/avidemux-plugins/files/avidemux-plugins-2.7.0-qt-5.11.patch b/media-libs/avidemux-plugins/files/avidemux-plugins-2.7.0-qt-5.11.patch new file mode 100644 index 000000000000..8ac9bbc3b4ac --- /dev/null +++ b/media-libs/avidemux-plugins/files/avidemux-plugins-2.7.0-qt-5.11.patch @@ -0,0 +1,48 @@ +From ba667da44fcb88ee660339e52859bb90dc1b00d3 Mon Sep 17 00:00:00 2001 +From: mean <fixounet@free.fr> +Date: Wed, 30 May 2018 07:31:03 +0200 +Subject: [PATCH] [Qt] Compatibilty patch with newer qt (>=5.11), patch by + Chris Clayton + +--- + avidemux/qt4/ADM_jobs/src/ADM_jobControl.cpp | 1 + + avidemux/qt4/ADM_jobs/src/ADM_jobs.cpp | 1 + + avidemux_plugins/ADM_videoFilters6/eq2/qt4/Q_eq2.cpp | 1 + + 3 files changed, 3 insertions(+) + +diff --git a/avidemux/qt4/ADM_jobs/src/ADM_jobControl.cpp b/avidemux/qt4/ADM_jobs/src/ADM_jobControl.cpp +index 256f69d5e..54b0ac639 100644 +--- a/avidemux/qt4/ADM_jobs/src/ADM_jobControl.cpp ++++ b/avidemux/qt4/ADM_jobs/src/ADM_jobControl.cpp +@@ -17,6 +17,7 @@ + #include "ADM_coreJobs.h" + #include "DIA_coreToolkit.h" + #include <QtCore/QDir> ++#include <QAction> + + extern void loadTranslator(void); + extern void initTranslator(void); +diff --git a/avidemux/qt4/ADM_jobs/src/ADM_jobs.cpp b/avidemux/qt4/ADM_jobs/src/ADM_jobs.cpp +index 85cec5f9a..f537995ca 100644 +--- a/avidemux/qt4/ADM_jobs/src/ADM_jobs.cpp ++++ b/avidemux/qt4/ADM_jobs/src/ADM_jobs.cpp +@@ -21,6 +21,7 @@ + #include "ADM_memsupport.h" + #include "ADM_crashdump.h" + #include "ADM_win32.h" ++#include <QAction> + + void onexit( void ); + +diff --git a/avidemux_plugins/ADM_videoFilters6/eq2/qt4/Q_eq2.cpp b/avidemux_plugins/ADM_videoFilters6/eq2/qt4/Q_eq2.cpp +index 94bdd577e..b2a01e54b 100644 +--- a/avidemux_plugins/ADM_videoFilters6/eq2/qt4/Q_eq2.cpp ++++ b/avidemux_plugins/ADM_videoFilters6/eq2/qt4/Q_eq2.cpp +@@ -17,6 +17,7 @@ + #include "Q_eq2.h" + #include "ADM_toolkitQt.h" + #include <QSignalMapper> ++#include <QAction> + + // + // Video is in YV12 Colorspace
\ No newline at end of file |