summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2020-04-14 00:40:16 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-04-19 10:52:30 +0700
commitaaaf0d30b8f81ed3bc25eb171b94d51e99d4c2fc (patch)
tree46903b5cb4f7f58791872689154786e3228e8e74 /audio
parent71ae8793c7ebcc14970a75313595d908ba2f5f62 (diff)
downloadslackbuilds-aaaf0d30b8f81ed3bc25eb171b94d51e99d4c2fc.tar.gz
audio/muse: Patched.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio')
-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 2b5fb12ac7..76f3dedc57 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 0000000000..4c5e1c2278
--- /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>