From b8e7ff1d492484dfc5df24e83575610d15a64ea0 Mon Sep 17 00:00:00 2001 From: fosslinux Date: Sat, 27 Jun 2020 16:59:34 +1000 Subject: [PATCH] avidemux: add qt5.15 patch. --- srcpkgs/avidemux/patches/qt5.15.patch | 24 ++++++++++++++++++++++++ srcpkgs/avidemux/template | 2 +- 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/avidemux/patches/qt5.15.patch diff --git a/srcpkgs/avidemux/patches/qt5.15.patch b/srcpkgs/avidemux/patches/qt5.15.patch new file mode 100644 index 0000000000..e27ba4cb9e --- /dev/null +++ b/srcpkgs/avidemux/patches/qt5.15.patch @@ -0,0 +1,24 @@ +From 1a8bb36c5a0392d1e4d1b23812a926dde2796d5c Mon Sep 17 00:00:00 2001 +From: eumagga0x2a +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 + #include + ++#if QT_VERSION >= QT_VERSION_CHECK(5,15,0) ++ #include ++#endif ++ + #include "ADM_default.h" + #include "DIA_flyDialogQt4.h" + diff --git a/srcpkgs/avidemux/template b/srcpkgs/avidemux/template index dc89ce53f3..578597c788 100644 --- a/srcpkgs/avidemux/template +++ b/srcpkgs/avidemux/template @@ -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}"