rpms/xorg-x11-drv-openchrome/devel openchrome-0.2.901-replace_xf86memcpy.patch, NONE, 1.1 xorg-x11-drv-openchrome.spec, 1.7, 1.8

Xavier Bachelot (xavierb) fedora-extras-commits at redhat.com
Sat Jan 19 02:51:22 UTC 2008


Author: xavierb

Update of /cvs/pkgs/rpms/xorg-x11-drv-openchrome/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15377

Modified Files:
	xorg-x11-drv-openchrome.spec 
Added Files:
	openchrome-0.2.901-replace_xf86memcpy.patch 
Log Message:
Add patch to replace xf86memcpy by plain memcpy.


openchrome-0.2.901-replace_xf86memcpy.patch:

--- NEW FILE openchrome-0.2.901-replace_xf86memcpy.patch ---
Index: src/via_memcpy.c
===================================================================
--- src/via_memcpy.c	(revision 508)
+++ src/via_memcpy.c	(working copy)
@@ -329,7 +329,7 @@
     if ( yuv422 ) w <<= 1;
     if (dstPitch == w) {
 	int size = h*((yuv422) ? w : (w + (w >> 1)));
-	xf86memcpy(dst, src, size);
+	memcpy(dst, src, size);
 	return;
     } else {
 	int count;
@@ -338,7 +338,7 @@
 
 	count = h;
 	while(count--) {
-	    xf86memcpy(dst, src, w);
+	    memcpy(dst, src, w);
 	    src += w;
 	    dst += dstPitch;
 	}
@@ -354,7 +354,7 @@
 
 	    count = h;
 	    while(count--) {
-		xf86memcpy(dst, src, w);
+		memcpy(dst, src, w);
 		src += w;
 		dst += dstPitch;
 	    }


Index: xorg-x11-drv-openchrome.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xorg-x11-drv-openchrome/devel/xorg-x11-drv-openchrome.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- xorg-x11-drv-openchrome.spec	10 Jan 2008 20:57:05 -0000	1.7
+++ xorg-x11-drv-openchrome.spec	19 Jan 2008 02:50:47 -0000	1.8
@@ -9,7 +9,7 @@
 Summary:	Xorg X11 openchrome video driver
 Name:		xorg-x11-drv-openchrome
 Version:	0.2.901
-Release:	4%{?dist}
+Release:	5%{?dist}
 URL:		http://www.openchrome.org
 License:	MIT
 Group:		User Interface/X Hardware Support
@@ -19,6 +19,7 @@
 Source1:	openchrome.xinf
 
 Patch1:         openchrome-0.2.901-libpciaccess.patch
+Patch2:         openchrome-0.2.901-replace_xf86memcpy.patch
 ExclusiveArch:	%{ix86} x86_64
 
 BuildRequires:	pkgconfig
@@ -53,6 +54,7 @@
 %prep
 %setup -q -n %{tarball}-%{version}
 %patch1 -p0 -b .libpciaccess
+%patch2 -p0 -b .xf86memcpy
 
 %build
 autoreconf
@@ -101,6 +103,9 @@
 
 
 %changelog
+* Fri Jan 19 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.901-5
+- Add patch to replace xf86memcpy by plain memcpy.
+
 * Thu Jan 10 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.901-4
 - Another try at fixing the libpciaccess patch.
 




More information about the fedora-extras-commits mailing list