[packages/ffmpeg/ffmpeg-4.4] for openal (which uses protected visibility) explicit -fPIC is required; rel 2

atler atler at pld-linux.org
Mon Oct 10 14:12:09 CEST 2022


commit 4a4e4b6ceab508731a413aec31e019376972c857
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Oct 10 14:10:49 2022 +0200

    for openal (which uses protected visibility) explicit -fPIC is required; rel 2

 ffmpeg.spec | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/ffmpeg.spec b/ffmpeg.spec
index 6410103..0f70737 100644
--- a/ffmpeg.spec
+++ b/ffmpeg.spec
@@ -118,7 +118,7 @@ Summary:	FFmpeg - a very fast video and audio converter
 Summary(pl.UTF-8):	FFmpeg - szybki konwerter audio/wideo
 Name:		ffmpeg
 Version:	4.4.3
-Release:	1
+Release:	2
 # LGPL or GPL, chosen at configure time (GPL version is more featured)
 # GPL: frei0r libcdio libdavs2 rubberband vidstab x264 x265 xavs xavs2 xvid
 # v3 (allows *GPLv3 or Apache-licensed libs): gmp lensfun opencore-amr vmaf vo-*enc rkmpp
@@ -284,14 +284,13 @@ Suggests:	fonts-TTF-Roboto
 Obsoletes:	libpostproc < 0.4.9-1
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define		specflags	-fno-strict-aliasing
+%define		specflags	-fno-strict-aliasing -fPIC
 
 # -fomit-frame-pointer is always needed on x86 due to lack of registers (-fPIC takes one)
 %define		specflags_ia32	-fomit-frame-pointer
 # -mmmx is needed to enable <mmintrin.h> code.
 %define		specflags_i586	-mmmx
 %define		specflags_i686	-mmmx
-%define		specflags_ppc	-fPIC
 
 %description
 FFmpeg is a complete solution to record, convert and stream audio and
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ffmpeg.git/commitdiff/4a4e4b6ceab508731a413aec31e019376972c857



More information about the pld-cvs-commit mailing list