Changed files:
altivec-no-vand.patch -> 1.1
libx264.spec -> 1.30
--- /dev/null
+--- x264-snapshot-20100512-2245/common/cpu.c~ 2010-05-12 23:45:09.000000000 +0300
++++ x264-snapshot-20100512-2245/common/cpu.c 2010-08-26 13:57:43.790488230 +0300
+@@ -251,6 +251,9 @@
+
+ uint32_t x264_cpu_detect( void )
+ {
++#if 1
++ return 0;
++#else
+ static void (*oldsig)( int );
+
+ oldsig = signal( SIGILL, sigill_handler );
+@@ -270,6 +273,7 @@
+ signal( SIGILL, oldsig );
+
+ return X264_CPU_ALTIVEC;
++#endif
+ }
+ #endif
+
%define snap 20100512
%define snaph 2245
-%define rel 2
+%define rel 3
Summary: H264 encoder library
Summary(pl.UTF-8): Biblioteka kodująca H264
Name: libx264
# Source0-md5: 38c331e76ab11517261522a60da8dd31
Patch0: %{name}-alpha.patch
Patch1: %{name}-syms.patch
+Patch2: altivec-no-vand.patch
URL: http://www.videolan.org/developers/x264.html
BuildRequires: pkgconfig
%ifarch %{ix86} %{x8664}
%setup -q -n x264-snapshot-%{snap}-%{snaph}
%patch0 -p1
%patch1 -p1
+%patch2 -p1
sed -i 's:-O4::g' configure
%build