rpms/libdv/devel libdv-0.103-mmx.patch, NONE, 1.1 libdv.spec, 1.14, 1.15
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Mon Feb 13 21:48:03 UTC 2006
Author: pnasrat
Update of /cvs/dist/rpms/libdv/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv5197
Modified Files:
libdv.spec
Added Files:
libdv-0.103-mmx.patch
Log Message:
fix build
libdv-0.103-mmx.patch:
mmx.h | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
--- NEW FILE libdv-0.103-mmx.patch ---
--- libdv-0.103/libdv/mmx.h.mmx 2006-02-13 16:43:45.000000000 -0500
+++ libdv-0.103/libdv/mmx.h 2006-02-13 16:43:57.000000000 -0500
@@ -353,16 +353,16 @@
#define mmx_i2r(op, imm, reg) \
__asm__ __volatile__ (#op " %0, %%" #reg \
: /* nothing */ \
- : "X" (imm) )
+ : "i" (imm) )
#define mmx_m2r(op, mem, reg) \
__asm__ __volatile__ (#op " %0, %%" #reg \
: /* nothing */ \
- : "X" (mem))
+ : "m" (mem))
#define mmx_r2m(op, reg, mem) \
__asm__ __volatile__ (#op " %%" #reg ", %0" \
- : "=X" (mem) \
+ : "=m" (mem) \
: /* nothing */ )
#define mmx_r2r(op, regs, regd) \
@@ -372,8 +372,8 @@
__asm__ __volatile__ ("movq %0, %%mm0\n\t" \
#op " %1, %%mm0\n\t" \
"movq %%mm0, %0" \
- : "=X" (memd) \
- : "X" (mems))
+ : "=m" (memd) \
+ : "m" (mems))
#endif
Index: libdv.spec
===================================================================
RCS file: /cvs/dist/rpms/libdv/devel/libdv.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- libdv.spec 11 Feb 2006 03:55:21 -0000 1.14
+++ libdv.spec 13 Feb 2006 21:48:00 -0000 1.15
@@ -1,15 +1,17 @@
Summary: Software decoder for DV format video.
Name: libdv
Version: 0.103
-Release: 4.2.1
+Release: 4.3
Epoch: 0
License: LGPL
Group: System Environment/Libraries
URL: http://libdv.sourceforge.net/
Source0: http://dl.sourceforge.net/sourceforge/libdv/libdv-0.103.tar.gz
Patch0: libdv-0.103-noexec-stack.patch
+Patch1: libdv-0.103-mmx.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires: gtk+-devel >= 0:1.2.4
+BuildRequires: libXv-devel
ExcludeArch: s390 s390x
%package devel
@@ -41,7 +43,8 @@
%prep
%setup -q
-%patch -p1
+%patch0 -p1
+%patch1 -p1
%build
%configure
@@ -84,6 +87,9 @@
%{_includedir}/%{name}
%changelog
+* Mon Feb 13 2006 Paul Nasrat <pnasrat at redhat.com> - 0:0.103-4.3
+- Patch to build with gcc 4.1
+
* Fri Feb 10 2006 Jesse Keating <jkeating at redhat.com> - 0:0.103-4.2.1
- bump again for double-long bug on ppc(64)
More information about the fedora-cvs-commits
mailing list