summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 0000000000..b5f74eafb9
--- /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 96a259c7d3..9758ca6003 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}"