pulseaudio/build-sys-Bump-cpp_std-to-c-17.patch
Takashi Iwai c2e0c759b4 Accepting request 1112006 from home:tiwai:branches:multimedia:libs
- Enable webrtc AEC3 support:
  echo-cancel-add-webrtc-AEC3-support.patch
- Build fixes for webrtc-audio-processing 1.3 (only enabled for TW,
  so far; Leap 15.x still receives the old version):
  build-sys-Bump-cpp_std-to-c-17.patch
  build-sys-Bump-webrtc-audio-processing-dependency.patch

OBS-URL: https://build.opensuse.org/request/show/1112006
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/pulseaudio?expand=0&rev=263
2023-09-18 14:57:51 +00:00

24 lines
917 B
Diff

From e2b63d157fcc5ceb67a2f0eaed202d18baa05a11 Mon Sep 17 00:00:00 2001
From: Arun Raghavan <arun@asymptotic.io>
Date: Sun, 13 Aug 2023 07:24:41 -0400
Subject: [PATCH] build-sys: Bump cpp_std to c++17
Match it with webrtc-audio-processing, which is what we care about.
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/795>
---
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/meson.build
+++ b/meson.build
@@ -1,7 +1,7 @@
project('pulseaudio', 'c', 'cpp',
version : run_command(find_program('git-version-gen'), join_paths(meson.current_source_dir(), '.tarball-version')).stdout().strip(),
meson_version : '>= 0.50.0',
- default_options : [ 'c_std=gnu11', 'cpp_std=c++11' ]
+ default_options : [ 'c_std=gnu11', 'cpp_std=c++17' ]
)
meson.add_dist_script('scripts/save-tarball-version.sh', meson.project_version())