Author: jwrdegoede
Update of /cvs/free/rpms/ffmpeg/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv28702
Modified Files:
ffmpeg.spec
Added Files:
ffmpeg-ppc-pic.patch
Log Message:
* Sat Nov 7 2009 Hans de Goede <j.w.r.degoede(a)hhs.nl> - 0.5-5.20091026svn
- Add -fPIC -dPIC when compiling on ppc (rf804)
ffmpeg-ppc-pic.patch:
--- NEW FILE ffmpeg-ppc-pic.patch ---
diff -up ffmpeg-20091026/configure~ ffmpeg-20091026/configure
--- ffmpeg-20091026/configure~ 2009-10-24 19:24:25.000000000 +0200
+++ ffmpeg-20091026/configure 2009-11-07 16:35:15.000000000 +0100
@@ -1805,12 +1805,14 @@ case "$arch" in
"Power Macintosh"|ppc|powerpc)
arch="ppc"
enable fast_unaligned
+ spic=$shared
;;
ppc64)
arch="ppc"
subarch="ppc64"
enable fast_64bit
enable fast_unaligned
+ spic=$shared
;;
s390|s390x)
arch="s390"
Index: ffmpeg.spec
===================================================================
RCS file: /cvs/free/rpms/ffmpeg/devel/ffmpeg.spec,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- ffmpeg.spec 27 Oct 2009 00:38:30 -0000 1.23
+++ ffmpeg.spec 7 Nov 2009 15:34:58 -0000 1.24
@@ -6,7 +6,7 @@
Summary: Digital VCR and streaming server
Name: ffmpeg
Version: 0.5
-Release: 4.%{svn}svn%{?dist}
+Release: 5.%{svn}svn%{?dist}
%if 0%{?_with_opencore_amr:1}
License: GPLv3+
%else
@@ -18,6 +18,8 @@
Source1: ffmpeg-snapshot.sh
# get rid of textrels on x86_64 in yasm code
Patch0: %{name}-textrel.patch
+# compile with -fPIC on ppc/ppc64 (rf804)
+Patch1: %{name}-ppc-pic.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: bzip2-devel
@@ -120,6 +122,7 @@
%prep
%setup -q -n %{name}-%{svn}
%patch0 -p1 -b .textrel
+%patch1 -p1 -b .ppc-pic
%build
mkdir generic
@@ -224,6 +227,9 @@
%changelog
+* Sat Nov 7 2009 Hans de Goede <j.w.r.degoede(a)hhs.nl> - 0.5-5.20091026svn
+- Add -fPIC -dPIC when compiling on ppc (rf804)
+
* Thu Oct 22 2009 Dominik Mierzejewski <rpm at greysector.net> - 0.5-4.20091026svn
- 20091026 snapshot, requires recent x264
- dropped support for old amr libs (not supported upstream since July)