Author: rathann
Update of /cvs/free/rpms/x264/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv23759
Modified Files:
.cvsignore sources x264.spec
Added Files:
x264-ppc.patch
Log Message:
- 20090319 snapshot
- fix build on ppc
x264-ppc.patch:
--- NEW FILE x264-ppc.patch ---
diff -up x264-20090319/common/ppc/pixel.c.ppc x264-20090319/common/ppc/pixel.c
--- x264-20090319/common/ppc/pixel.c.ppc 2009-03-26 21:12:11.000000000 +0100
+++ x264-20090319/common/ppc/pixel.c 2009-03-26 21:44:58.000000000 +0100
@@ -1865,7 +1865,7 @@ static int pixel_sa8d_16x16_altivec( uin
#define VEC_LOAD_HIGH( p, num ) \
vec_u8_t pix8_##num = vec_ld( stride*num, p ); \
- vec_s16_t pix16_s##num = vec_perm(pix8_##num, zero_u8v, perm); \
+ vec_s16_t pix16_s##num = (vec_s16_t)vec_perm(pix8_##num, zero_u8v, perm); \
vec_s16_t pix16_d##num;
static uint64_t pixel_hadamard_ac_altivec( uint8_t *pix, int stride, const vec_u8_t perm
)
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/x264/devel/.cvsignore,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- .cvsignore 26 Mar 2009 19:24:07 -0000 1.7
+++ .cvsignore 26 Mar 2009 21:19:02 -0000 1.8
@@ -1 +1 @@
-x264-20090310.tar.bz2
+x264-20090319.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/free/rpms/x264/devel/sources,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- sources 26 Mar 2009 19:24:07 -0000 1.7
+++ sources 26 Mar 2009 21:19:02 -0000 1.8
@@ -1 +1 @@
-9bfa0ecd434dc1daebdd4c1bacbda188 x264-20090310.tar.bz2
+548146e4fe42572a8dfde55c65ce5206 x264-20090319.tar.bz2
Index: x264.spec
===================================================================
RCS file: /cvs/free/rpms/x264/devel/x264.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- x264.spec 26 Mar 2009 19:24:07 -0000 1.11
+++ x264.spec 26 Mar 2009 21:19:02 -0000 1.12
@@ -1,5 +1,5 @@
-%define snapshot 20090310
-%define git 5b65cc
+%define snapshot 20090319
+%define git c109c8
Summary: H264/AVC video streams encoder
Name: x264
@@ -11,6 +11,7 @@
Source0:
http://rpm.greysector.net/livna/%{name}-%{snapshot}.tar.bz2
Source1: x264-snapshot.sh
Patch0: %{name}-rpm.patch
+Patch1: %{name}-ppc.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
%{!?_without_gpac:BuildRequires: gpac-devel-static}
%{?_with_visualize:BuildRequires: libX11-devel}
@@ -65,6 +66,7 @@
%prep
%setup -q -n %{name}-%{snapshot}
%patch0 -p1 -b .r
+%patch1 -p1 -b .ppc
# AUTHORS file is in iso-8859-1
iconv -f iso-8859-1 -t utf-8 -o AUTHORS.utf8 AUTHORS
mv -f AUTHORS.utf8 AUTHORS
@@ -132,9 +134,10 @@
%endif
%changelog
-* Tue Mar 10 2009 Dominik Mierzejewski <rpm(a)greysector.net>
0.0.0-0.24.20090310git5b65cc
-- 20090310 snapshot
+* Tue Mar 26 2009 Dominik Mierzejewski <rpm(a)greysector.net>
0.0.0-0.24.20090319gitc109c8
+- 20090319 snapshot
- build with static gpac
+- fix build on ppc
* Tue Feb 10 2009 Dominik Mierzejewski <rpm(a)greysector.net>
0.0.0-0.23.20090119git451ba8d
- 20090119 snapshot