summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/mhwaveedit/Makefile2
-rw-r--r--audio/mhwaveedit/files/patch-src_sound-pulse.c11
2 files changed, 12 insertions, 1 deletions
diff --git a/audio/mhwaveedit/Makefile b/audio/mhwaveedit/Makefile
index faee84a66091..029c56e36b6a 100644
--- a/audio/mhwaveedit/Makefile
+++ b/audio/mhwaveedit/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
USE_GITHUB= yes
GH_ACCOUNT= magnush
-USES= autoreconf localbase pathfix pkgconfig tar:bzip2
+USES= autoreconf gnome localbase pathfix pkgconfig tar:bzip2
USE_GNOME= gtk20
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-alsalib \
diff --git a/audio/mhwaveedit/files/patch-src_sound-pulse.c b/audio/mhwaveedit/files/patch-src_sound-pulse.c
new file mode 100644
index 000000000000..ea99be885b6f
--- /dev/null
+++ b/audio/mhwaveedit/files/patch-src_sound-pulse.c
@@ -0,0 +1,11 @@
+--- src/sound-pulse.c.orig 2018-08-25 10:07:24 UTC
++++ src/sound-pulse.c
+@@ -22,6 +22,8 @@
+ #include <poll.h>
+ #include <pulse/pulseaudio.h>
+
++#include "int_box.h"
++
+ #ifndef PA_CHECK_VERSION
+ #define PA_CHECK_VERSION(a,b,c) (0)
+ #endif