commit 44ecc3caaa0e4321d7025cf361594e53ca1cf885
Author: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Sun Aug 7 23:16:28 2022 +0200
Trying to fix ffmpeg 5.1 build issue.
obs-studio.spec | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/obs-studio.spec b/obs-studio.spec
index 5716bf6..d1a7f9e 100644
--- a/obs-studio.spec
+++ b/obs-studio.spec
@@ -98,6 +98,9 @@ sed -i 's|OBS_MULTIARCH_SUFFIX|LIB_SUFFIX|g'
cmake/Modules/ObsHelpers.cmake
# Prepare plugins/obs-vst
tar -xf %{SOURCE1} -C plugins/obs-vst --strip-components=1
+# Fix ffmpeg 5.1 FTBFS
+sed -e 's/-Werror-implicit-function-declaration//g' -i CMakeLists.txt
+
%build
%cmake -DOBS_VERSION_OVERRIDE=%{version} \
-DUNIX_STRUCTURE=1 -GNinja \
Show replies by date