summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2019-09-16 21:12:48 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2019-09-16 21:12:48 +0000
commit1ae3235c8b9160caad4625a475eaf7b1441c77bb (patch)
treebeda83d963dfffed138f917a67b52691e4dec6bb
parentUpdate to latest commit. (diff)
- Fix build with PULSEAUDIO (see also https://github.com/magnush/mhwaveedit/pull/13)
- Add missing USES=gnome PR: 240596 Reported by: jbeich@FreeBSD.org
Notes
Notes: svn path=/head/; revision=512190
-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