Author: kwizart
Update of /cvs/free/rpms/vlc/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv2490
Modified Files:
vlc.spec
Added Files:
vlc-1.0.2-powerpc.patch
Log Message:
Fixing
vlc-1.0.2-powerpc.patch:
--- NEW FILE vlc-1.0.2-powerpc.patch ---
diff --git a/src/misc/cpu.c b/src/misc/cpu.c
index ac42227..ffe7716 100644
--- a/src/misc/cpu.c
+++ b/src/misc/cpu.c
-44,8 +44,8 @@
#include <sys/sysctl.h>
#endif
-#if defined( __i386__ ) || defined( __x86_64__ ) \
- || defined( __ppc__ ) || defined( __ppc64__ )
+#if defined( __i386__ ) || defined( __x86_64__ ) || defined( __powerpc__ ) \
+ || defined( __ppc__ ) || defined( __ppc64__ ) || defined( __powerpc64__ )
static bool check_OS_capability( const char *psz_capability, pid_t pid )
{
#ifndef WIN32
-233,7 +233,8 @@ out:
i_capabilities |= CPU_CAPABILITY_NEON;
# endif
-#elif defined( __powerpc__ ) || defined( __ppc__ ) || defined( __ppc64__ )
+#elif defined( __powerpc__ ) || defined( __ppc__ ) || defined( __powerpc64__ ) \
+ || defined( __ppc64__ )
i_capabilities |= CPU_CAPABILITY_FPU;
Index: vlc.spec
===================================================================
RCS file: /cvs/free/rpms/vlc/devel/vlc.spec,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -r1.59 -r1.60
--- vlc.spec 19 Sep 2009 22:22:02 -0000 1.59
+++ vlc.spec 19 Sep 2009 23:19:26 -0000 1.60
@@ -22,6 +22,7 @@
Patch2: 0002-Default-aout-for-pulse.patch
Patch3: 300_all_pic.patch
Patch4: 310_all_mmx_pic.patch
+Patch5: vlc-1.0.2-powerpc.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: desktop-file-utils
@@ -238,6 +239,7 @@
%patch3 -p1 -b .dmo_pic
sed -i.dmo_pic -e 's/fno-PIC/fPIC/' libs/loader/Makefile.in
%patch4 -p1 -b .mmx_pic
+%patch4 -p1 -b .ppc
rm modules/access/videodev2.h
Show replies by date