aboutsummaryrefslogtreecommitdiff
path: root/audio/mhwaveedit
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2018-11-05 16:07:15 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-11-10 07:48:20 +0700
commit4d8b51b5473257be4a6f89316639e474b4375d2f (patch)
treeb2f22f1e9cb6eb35a8919a8b00aa3f0d14d49251 /audio/mhwaveedit
parentbae9a38324333d49fdad058e1cb36bc381630170 (diff)
audio/mhwaveedit: Restore intbox patch.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'audio/mhwaveedit')
-rw-r--r--audio/mhwaveedit/intbox.diff10
-rw-r--r--audio/mhwaveedit/mhwaveedit.SlackBuild3
2 files changed, 13 insertions, 0 deletions
diff --git a/audio/mhwaveedit/intbox.diff b/audio/mhwaveedit/intbox.diff
new file mode 100644
index 0000000000000..b5f74eafb96cc
--- /dev/null
+++ b/audio/mhwaveedit/intbox.diff
@@ -0,0 +1,10 @@
+--- src/sound-pulse.c.orig 2016-06-11 13:52:03.000000000 +0200
++++ src/sound-pulse.c 2016-06-11 13:50:39.000000000 +0200
+@@ -21,6 +21,7 @@
+
+ #include <poll.h>
+ #include <pulse/pulseaudio.h>
++#include "int_box.h"
+
+ #ifndef PA_CHECK_VERSION
+ #define PA_CHECK_VERSION(a,b,c) (0)
diff --git a/audio/mhwaveedit/mhwaveedit.SlackBuild b/audio/mhwaveedit/mhwaveedit.SlackBuild
index 96a259c7d35a9..9758ca6003001 100644
--- a/audio/mhwaveedit/mhwaveedit.SlackBuild
+++ b/audio/mhwaveedit/mhwaveedit.SlackBuild
@@ -59,6 +59,9 @@ chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+# Fix "unknown type name 'Intbox'"
+patch -p0 < $CWD/intbox.diff
+
# 20181023 bkw: environment variables to control the build options.
MIXER="${MIXER:-xterm -e alsamixer}"
PULSE="${PULSE:-yes}"