summaryrefslogtreecommitdiff
path: root/audio/webrtc-audio-processing
diff options
context:
space:
mode:
Diffstat (limited to 'audio/webrtc-audio-processing')
-rw-r--r--audio/webrtc-audio-processing/Makefile3
-rw-r--r--audio/webrtc-audio-processing/files/patch-meson.build13
2 files changed, 15 insertions, 1 deletions
diff --git a/audio/webrtc-audio-processing/Makefile b/audio/webrtc-audio-processing/Makefile
index 1261ae1a2724..b4281bc77f55 100644
--- a/audio/webrtc-audio-processing/Makefile
+++ b/audio/webrtc-audio-processing/Makefile
@@ -2,6 +2,7 @@
PORTNAME= webrtc-audio-processing
DISTVERSION= 1.0
+PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= https://freedesktop.org/software/pulseaudio/${PORTNAME}/
@@ -19,7 +20,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= cmake:devel/cmake
LIB_DEPENDS= libabsl_strings.so:devel/abseil
-USES= compiler:c++14-lang meson
+USES= compiler:c++17-lang meson
USE_LDCONFIG= yes
CFLAGS_i386= -msse # https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/issues/5
diff --git a/audio/webrtc-audio-processing/files/patch-meson.build b/audio/webrtc-audio-processing/files/patch-meson.build
new file mode 100644
index 000000000000..a006f0ca07e7
--- /dev/null
+++ b/audio/webrtc-audio-processing/files/patch-meson.build
@@ -0,0 +1,13 @@
+- Sync -std= with devel/abseil to match ABI
+
+--- meson.build.orig 2020-12-12 16:13:37 UTC
++++ meson.build
+@@ -4,7 +4,7 @@ project('webrtc-audio-processing-1', 'c', 'cpp',
+ default_options : [ 'warning_level=1',
+ 'buildtype=debugoptimized',
+ 'c_std=c11',
+- 'cpp_std=c++14',
++ 'cpp_std=c++17',
+ ]
+ )
+