avidemux: add qt5.15 patch.

This commit is contained in:
fosslinux 2020-06-27 16:59:34 +10:00 committed by John Zimmermann
parent f4799b15f6
commit b8e7ff1d49
2 changed files with 25 additions and 1 deletions

View file

@ -0,0 +1,24 @@
From 1a8bb36c5a0392d1e4d1b23812a926dde2796d5c Mon Sep 17 00:00:00 2001
From: eumagga0x2a <eumagga0x2a@users.noreply.github.com>
Date: Fri, 5 Jun 2020 11:41:37 +0200
Subject: [PATCH] [Qt] Fix build with Qt 5.15
---
avidemux/qt4/ADM_UIs/src/T_RubberControl.cpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git avidemux/qt4/ADM_UIs/src/T_RubberControl.cpp avidemux/qt4/ADM_UIs/src/T_RubberControl.cpp
index 59180d1dd..3c115a824 100644
--- avidemux/qt4/ADM_UIs/src/T_RubberControl.cpp
+++ avidemux/qt4/ADM_UIs/src/T_RubberControl.cpp
@@ -12,6 +12,10 @@
#include <QBoxLayout>
#include <QSizeGrip>
+#if QT_VERSION >= QT_VERSION_CHECK(5,15,0)
+ #include <QPainterPath>
+#endif
+
#include "ADM_default.h"
#include "DIA_flyDialogQt4.h"

View file

@ -1,7 +1,7 @@
# Template file for 'avidemux'
pkgname=avidemux
version=2.7.4
revision=5
revision=6
# Can't be compiled for aarch64, arm* or mips*
archs="x86_64* i686*"
wrksrc="${pkgname}_${version}"