Author: glen                         Date: Thu Aug 26 10:59:26 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- ac gcc 3.3.6 on ppc has no "vand" instructions, drop altivec detect; rel 3

---- Files affected:
packages/libx264:
   libx264.spec (1.29 -> 1.30) , altivec-no-vand.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/libx264/libx264.spec
diff -u packages/libx264/libx264.spec:1.29 packages/libx264/libx264.spec:1.30
--- packages/libx264/libx264.spec:1.29  Tue Aug 24 22:27:53 2010
+++ packages/libx264/libx264.spec       Thu Aug 26 12:59:20 2010
@@ -1,7 +1,7 @@
 # $Revision$, $Date$
 %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
@@ -16,6 +16,7 @@
 # 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}
@@ -60,6 +61,7 @@
 %setup -q -n x264-snapshot-%{snap}-%{snaph}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 sed -i 's:-O4::g' configure
 
 %build
@@ -110,6 +112,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.30  2010/08/26 10:59:20  glen
+- ac gcc 3.3.6 on ppc has no "vand" instructions, drop altivec detect; rel 3
+
 Revision 1.29  2010/08/24 20:27:53  glen
 - release 2
 

================================================================
Index: packages/libx264/altivec-no-vand.patch
diff -u /dev/null packages/libx264/altivec-no-vand.patch:1.1
--- /dev/null   Thu Aug 26 12:59:26 2010
+++ packages/libx264/altivec-no-vand.patch      Thu Aug 26 12:59:20 2010
@@ -0,0 +1,20 @@
+--- 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
+ 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libx264/libx264.spec?r1=1.29&r2=1.30&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to