]> git.pld-linux.org Git - packages/webrtc-audio-processing1.git/commitdiff
- abseil needs c++17 now, rel 4 auto/th/webrtc-audio-processing1-1.0-4
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 2 Dec 2021 23:01:47 +0000 (00:01 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 2 Dec 2021 23:01:47 +0000 (00:01 +0100)
cxx17.patch [new file with mode: 0644]
webrtc-audio-processing1.spec

diff --git a/cxx17.patch b/cxx17.patch
new file mode 100644 (file)
index 0000000..d3f1323
--- /dev/null
@@ -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@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
+
index 775ffa455c14b4b2f8c7b4d1b0efa11895392778..7526ef5c921a29f3a116ce7eba60415455197fa5 100644 (file)
@@ -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}
This page took 0.120903 seconds and 4 git commands to generate.