summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--audio-creation/mhwaveedit/HISTORY4
-rwxr-xr-xaudio-creation/mhwaveedit/PRE_BUILD4
-rw-r--r--audio-creation/mhwaveedit/pulseaudio.patch10
3 files changed, 18 insertions, 0 deletions
diff --git a/audio-creation/mhwaveedit/HISTORY b/audio-creation/mhwaveedit/HISTORY
index dc0c9d6fbe..0616bc6cd1 100644
--- a/audio-creation/mhwaveedit/HISTORY
+++ b/audio-creation/mhwaveedit/HISTORY
@@ -1,3 +1,7 @@
+2019-04-12 Vlad Glagolev <stealth@sourcemage.org>
+ * PRE_BUILD: added, to apply patch
+ * pulseaudio.patch: added, to fix build against newer PulseAudio
+
2019-02-10 Vlad Glagolev <stealth@sourcemage.org>
* DETAILS: updated spell to 1.4.24; updated website, source URL
diff --git a/audio-creation/mhwaveedit/PRE_BUILD b/audio-creation/mhwaveedit/PRE_BUILD
new file mode 100755
index 0000000000..d861c817ef
--- /dev/null
+++ b/audio-creation/mhwaveedit/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "${SOURCE_DIRECTORY}" &&
+
+patch -p0 < "${SPELL_DIRECTORY}/pulseaudio.patch"
diff --git a/audio-creation/mhwaveedit/pulseaudio.patch b/audio-creation/mhwaveedit/pulseaudio.patch
new file mode 100644
index 0000000000..b5f74eafb9
--- /dev/null
+++ b/audio-creation/mhwaveedit/pulseaudio.patch
@@ -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)