rpms/mlt/F-14 mlt-inline_assembly-f14.patch, NONE, 1.1 mlt.spec, 1.10, 1.11

Ryan Rix rrix at rpmfusion.org
Wed Dec 22 01:25:42 CET 2010


Author: rrix

Update of /cvs/free/rpms/mlt/F-14
In directory se02.es.rpmfusion.net:/tmp/cvs-serv4682

Modified Files:
	mlt.spec 
Added Files:
	mlt-inline_assembly-f14.patch 
Log Message:
make: `clog' is up to date.


mlt-inline_assembly-f14.patch:
 yadif.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- NEW FILE mlt-inline_assembly-f14.patch ---
diff -Nur mlt-0.5.4/src/modules/xine/yadif.c mlt-0.5.4-fedora/src/modules/xine/yadif.c
--- mlt-0.5.4/src/modules/xine/yadif.c	2010-04-19 21:32:40.000000000 -0700
+++ mlt-0.5.4-fedora/src/modules/xine/yadif.c	2010-12-21 17:17:22.052608025 -0700
@@ -265,7 +265,7 @@
 #endif
 
 // ================= SSE2 =================
-#ifdef USE_SSE2
+#if defined(USE_SSE2) && defined(ARCH_X86_64)
 #define PABS(tmp,dst) \
             "pxor     "#tmp", "#tmp" \n\t"\
             "psubw    "#dst", "#tmp" \n\t"\
@@ -365,7 +365,7 @@
 		filter_line = filter_line_ssse3;
 	else
 #endif
-#ifdef USE_SSE2
+#if defined(USE_SSE2) && defined(ARCH_X86_64)
 	if (cpu & AVS_CPU_SSE2)
 		filter_line = filter_line_sse2;
 	else


Index: mlt.spec
===================================================================
RCS file: /cvs/free/rpms/mlt/F-14/mlt.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- mlt.spec	20 Nov 2010 16:55:47 -0000	1.10
+++ mlt.spec	22 Dec 2010 00:25:41 -0000	1.11
@@ -9,7 +9,7 @@
 Summary:        Toolkit for broadcasters, video editors, media players, transcoders
 Name:           mlt
 Version:        0.5.4
-Release:        1%{?dist}.1
+Release:        2%{?dist}
 
 License:        GPLv2+ and LGPLv2+
 URL:            http://www.mltframework.org/twiki/bin/view/MLT/
@@ -17,6 +17,7 @@
 Source:         http://downloads.sourceforge.net/mlt/%{name}-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
+Patch0:         mlt-inline_assembly-f14.patch
 
 BuildRequires:  frei0r-devel
 BuildRequires:  ffmpeg-devel
@@ -91,6 +92,8 @@
 chmod 644 src/modules/kdenlive/filter_freeze.c
 chmod -x demo/demo
 
+%patch0 -p1
+
 # Don't optimize (breaks debugging)
 sed -i -e '/fomit-frame-pointer/d' configure
 sed -i -e '/ffast-math/d' configure
@@ -177,6 +180,9 @@
 
 
 %changelog
+* Tue Dec 21 2010 Ryan Rix <ry at n.rix.si> - 0.5.4-2
+- Fix build, needed a patch from mlt's git repo.
+
 * Sat Nov 20 2010 Nicolas Chauvet <kwizart at gmail.com> - 0.5.4-1.1
 - rebuilt - was missing in repo
 



More information about the rpmfusion-commits mailing list