[packages/webrtc-audio-processing1] - abseil needs c++17 now, rel 4

baggins baggins at pld-linux.org
Fri Dec 3 00:02:08 CET 2021


commit e0a726193f520f4ffb6106a288c2f06e42860fe3
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri Dec 3 00:01:47 2021 +0100

    - abseil needs c++17 now, rel 4

 cxx17.patch                   | 36 ++++++++++++++++++++++++++++++++++++
 webrtc-audio-processing1.spec |  4 +++-
 2 files changed, 39 insertions(+), 1 deletion(-)
---
diff --git a/webrtc-audio-processing1.spec b/webrtc-audio-processing1.spec
index 775ffa4..7526ef5 100644
--- a/webrtc-audio-processing1.spec
+++ b/webrtc-audio-processing1.spec
@@ -19,13 +19,14 @@ Summary:	WebRTC Audio Processing library
 Summary(pl.UTF-8):	Biblioteka WebRTC Audio Processing
 Name:		webrtc-audio-processing1
 Version:	1.0
-Release:	3
+Release:	4
 License:	BSD
 Group:		Libraries
 Source0:	https://freedesktop.org/software/pulseaudio/webrtc-audio-processing/webrtc-audio-processing-%{version}.tar.gz
 # Source0-md5:	8ee1b2f3e615c6c2024951c559a9913a
 Patch0:		%{name}-abseil.patch
 Patch1:		%{name}-nosimd.patch
+Patch2:		cxx17.patch
 URL:		https://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing/
 BuildRequires:	abseil-cpp-devel >= 20200923
 BuildRequires:	libstdc++-devel >= 6:5
@@ -79,6 +80,7 @@ Biblioteka statyczna WebRTC Audio Processing.
 %setup -q -n webrtc-audio-processing-%{version}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %ifarch %{ix86}
 %if %{without sse2}
diff --git a/cxx17.patch b/cxx17.patch
new file mode 100644
index 0000000..d3f1323
--- /dev/null
+++ b/cxx17.patch
@@ -0,0 +1,36 @@
+--- webrtc-audio-processing-1.0/meson.build~	2021-12-01 22:21:02.000000000 +0100
++++ webrtc-audio-processing-1.0/meson.build	2021-12-01 23:46:59.069767222 +0100
+@@ -4,7 +4,7 @@
+   default_options : [ 'warning_level=1',
+                       'buildtype=debugoptimized',
+                       'c_std=c11',
+-                      'cpp_std=c++14',
++                      'cpp_std=c++17',
+                     ]
+ )
+ 
+From 6064932abf662db451defe7326fc2dd0c3016f99 Mon Sep 17 00:00:00 2001
+From: Arun Raghavan <arun at asymptotic.io>
+Date: Tue, 19 Oct 2021 16:01:05 -0400
+Subject: [PATCH] Add missing header for C++17 compatibility
+
+Hopefully we can drop this change with the next update.
+---
+ webrtc/modules/audio_processing/aec3/reverb_frequency_response.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/webrtc/modules/audio_processing/aec3/reverb_frequency_response.h b/webrtc/modules/audio_processing/aec3/reverb_frequency_response.h
+index b164186..84ea441 100644
+--- a/webrtc/modules/audio_processing/aec3/reverb_frequency_response.h
++++ b/webrtc/modules/audio_processing/aec3/reverb_frequency_response.h
+@@ -12,6 +12,7 @@
+ #define MODULES_AUDIO_PROCESSING_AEC3_REVERB_FREQUENCY_RESPONSE_H_
+ 
+ #include <array>
++#include <memory>
+ #include <vector>
+ 
+ #include "absl/types/optional.h"
+-- 
+GitLab
+
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/webrtc-audio-processing1.git/commitdiff/e0a726193f520f4ffb6106a288c2f06e42860fe3



More information about the pld-cvs-commit mailing list