packages: ffmpeg/ffmpeg.spec - won't work without -fPIC on ppc, added - pas...

sparky sparky at pld-linux.org
Wed Apr 29 11:58:02 CEST 2009


Author: sparky                       Date: Wed Apr 29 09:58:02 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- won't work without -fPIC on ppc, added
- pass cflags along with ldflags
- rel 2

---- Files affected:
packages/ffmpeg:
   ffmpeg.spec (1.180 -> 1.181) 

---- Diffs:

================================================================
Index: packages/ffmpeg/ffmpeg.spec
diff -u packages/ffmpeg/ffmpeg.spec:1.180 packages/ffmpeg/ffmpeg.spec:1.181
--- packages/ffmpeg/ffmpeg.spec:1.180	Wed Mar 25 17:55:46 2009
+++ packages/ffmpeg/ffmpeg.spec	Wed Apr 29 11:57:56 2009
@@ -11,7 +11,7 @@
 Summary(pl.UTF-8):	Koder audio/wideo czasu rzeczywistego oraz serwer strumieni
 Name:		ffmpeg
 Version:	0.5
-Release:	1
+Release:	2
 # LGPL or GPL, chosen at configure time (GPL version is more featured)
 # (postprocessing, ac3, xvid, x264, faad)
 License:	GPL v2+ with LGPL v2.1+ parts
@@ -76,6 +76,7 @@
 # -mmmx is needed to enable <mmintrin.h> code.
 %define		specflags_i586	-mmmx
 %define		specflags_i686	-mmmx
+%define		specflags_ppc	-fPIC
 
 %description
 ffmpeg is a hyper fast realtime audio/video encoder and streaming
@@ -268,7 +269,7 @@
 	--mandir=%{_mandir} \
 	--cc="%{__cc}" \
 	--extra-cflags="-D_GNU_SOURCE=1 %{rpmcppflags} %{rpmcflags} -I/usr/include/libavcodec -I/usr/include/libswscale" \
-	--extra-ldflags="%{rpmldflags}" \
+	--extra-ldflags="%{rpmcflags} %{rpmldflags}" \
 	--disable-debug \
 	--disable-optimizations \
 	--disable-stripping \
@@ -442,6 +443,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.181  2009/04/29 09:57:56  sparky
+- won't work without -fPIC on ppc, added
+- pass cflags along with ldflags
+- rel 2
+
 Revision 1.180  2009/03/25 16:55:46  uzsolt
 - BR texi2html
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ffmpeg/ffmpeg.spec?r1=1.180&r2=1.181&f=u



More information about the pld-cvs-commit mailing list