rpms/xorg-x11-drv-nv/devel nouveau-fix-bswap32.patch, NONE, 1.1 xorg-x11-drv-nv.spec, 1.54, 1.55

Dave Airlie (airlied) fedora-extras-commits at redhat.com
Thu Oct 11 01:45:17 UTC 2007


Author: airlied

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

Modified Files:
	xorg-x11-drv-nv.spec 
Added Files:
	nouveau-fix-bswap32.patch 
Log Message:
* Thu Oct 11 2007 Dave Airlie <airlied at redhat.com> 2.1.5-2
- nouveau-fix-bswap32.patch - fix nouveau driver on ppc/ppc64


nouveau-fix-bswap32.patch:

--- NEW FILE nouveau-fix-bswap32.patch ---
diff -up xf86-video-nv-2.1.5/nouveau-20070920/src/nv_bios.c.da xf86-video-nv-2.1.5/nouveau-20070920/src/nv_bios.c
--- xf86-video-nv-2.1.5/nouveau-20070920/src/nv_bios.c.da	2007-10-11 11:39:36.000000000 +1000
+++ nouveau-20070920/src/nv_bios.c	2007-10-11 11:39:45.000000000 +1000
@@ -22,6 +22,7 @@
  */
 
 #include "nv_include.h"
+#include <byteswap.h>
 #include "nvreg.h"
 
 #define DEBUGLEVEL 6


Index: xorg-x11-drv-nv.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xorg-x11-drv-nv/devel/xorg-x11-drv-nv.spec,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -r1.54 -r1.55
--- xorg-x11-drv-nv.spec	24 Sep 2007 17:54:27 -0000	1.54
+++ xorg-x11-drv-nv.spec	11 Oct 2007 01:44:44 -0000	1.55
@@ -9,7 +9,7 @@
 Summary:   Xorg X11 nv video driver
 Name:      xorg-x11-drv-nv
 Version:   2.1.5
-Release:   1%{?dist}
+Release:   2%{?dist}
 URL:       http://www.x.org
 License: MIT
 Group:     User Interface/X Hardware Support
@@ -29,6 +29,7 @@
 Requires:  xorg-x11-server-Xorg >= 1.3.0.0-6
 
 Patch0:     nv-1.1.1-nv34-tweaks.patch
+Patch1:     nouveau-fix-bswap32.patch
 
 %description 
 X.Org X11 nv video driver.
@@ -49,6 +50,7 @@
 tar jxf %{SOURCE1}
 cd nouveau-%{gitdate}
 %patch0 -p1 -b .nv34-tweak
+%patch1 -p1 -b .bswap32
 
 %build
 %configure --disable-static
@@ -88,6 +90,9 @@
 %{_mandir}/man4/nouveau.4*
 
 %changelog
+* Thu Oct 11 2007 Dave Airlie <airlied at redhat.com> 2.1.5-2
+- nouveau-fix-bswap32.patch - fix nouveau driver on ppc/ppc64
+
 * Mon Sep 24 2007 Adam Jackson <ajax at redhat.com> 2.1.5-1
 - xf86-video-nv 2.1.5.
 




More information about the fedora-extras-commits mailing list