pulseaudio/build-sys-Bump-cpp_std-to-c-17.patch

24 lines
917 B
Diff
Raw Normal View History

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())