aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/muse/muse.SlackBuild2
-rw-r--r--audio/muse/qt512.patch22
2 files changed, 24 insertions, 0 deletions
diff --git a/audio/muse/muse.SlackBuild b/audio/muse/muse.SlackBuild
index 2b5fb12ac7d2..76f3dedc57ef 100644
--- a/audio/muse/muse.SlackBuild
+++ b/audio/muse/muse.SlackBuild
@@ -56,6 +56,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+patch -p1 < $CWD/qt512.patch
+
mkdir -p build
cd build
cmake \
diff --git a/audio/muse/qt512.patch b/audio/muse/qt512.patch
new file mode 100644
index 000000000000..4c5e1c2278c2
--- /dev/null
+++ b/audio/muse/qt512.patch
@@ -0,0 +1,22 @@
+diff -Naur muse-3.0.2/muse/mplugins/mitplugin.cpp muse-3.0.2.patched/muse/mplugins/mitplugin.cpp
+--- muse-3.0.2/muse/mplugins/mitplugin.cpp 2017-12-04 22:01:18.000000000 +0100
++++ muse-3.0.2.patched/muse/mplugins/mitplugin.cpp 2020-02-26 23:27:20.013277911 +0100
+@@ -21,6 +21,7 @@
+ //
+ //=========================================================
+
++#include <QtWidgets>
+ #include "mitplugin.h"
+ #include "app.h"
+ #include "event.h"
+diff -Naur muse-3.0.2/muse/widgets/genset.cpp muse-3.0.2.patched/muse/widgets/genset.cpp
+--- muse-3.0.2/muse/widgets/genset.cpp 2018-01-22 17:43:28.000000000 +0100
++++ muse-3.0.2.patched/muse/widgets/genset.cpp 2020-02-26 21:47:19.446707723 +0100
+@@ -24,6 +24,7 @@
+
+ #include <stdio.h>
+
++#include <QButtonGroup>
+ #include <QFileDialog>
+ #include <QFileInfo>
+ #include <QRect>