rpms/xorg-x11-server/devel xorg-x11-server-1.2.99-unbreak-domain.patch, 1.4, 1.5 xorg-x11-server.spec, 1.214, 1.215
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Sat Mar 31 01:59:15 UTC 2007
Author: dwmw2
Update of /cvs/dist/rpms/xorg-x11-server/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv18039
Modified Files:
xorg-x11-server.spec
Added Files:
xorg-x11-server-1.2.99-unbreak-domain.patch
Log Message:
Fix domain breakage again after careless SRPM import.
xorg-x11-server-1.2.99-unbreak-domain.patch:
linuxPci.c | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletion(-)
Index: xorg-x11-server-1.2.99-unbreak-domain.patch
===================================================================
RCS file: xorg-x11-server-1.2.99-unbreak-domain.patch
diff -N xorg-x11-server-1.2.99-unbreak-domain.patch
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ xorg-x11-server-1.2.99-unbreak-domain.patch 31 Mar 2007 01:59:13 -0000 1.5
@@ -0,0 +1,17 @@
+--- xorg-server-1.2.99.901/hw/xfree86/os-support/bus/linuxPci.c~ 2006-11-16 18:01:25.000000000 +0000
++++ xorg-server-1.2.99.901/hw/xfree86/os-support/bus/linuxPci.c 2007-03-07 15:44:10.000000000 +0000
+@@ -158,7 +158,13 @@ linuxPciOpenFile(PCITAG tag, Bool write)
+ if (stat("/sys/bus/pci",&ignored) < 0)
+ is26 = 0;
+ else
+- is26 = 1;
++ /* If we don't find the incompatible IA64 "domain support" in
++ /proc/bus/pci then we don't know domain numbers. This means
++ we ought to use /proc/bus/pci for accessing devices, instead
++ of /sys/bus/pci. So in that case we just pretend it's a 2.4
++ kernel, and hope the kernel has set up disjoint bus numbers
++ for us, like it always used to. */
++ is26 = domain_support;
+ }
+
+ if (!domain_support && domain > 0)
Index: xorg-x11-server.spec
===================================================================
RCS file: /cvs/dist/rpms/xorg-x11-server/devel/xorg-x11-server.spec,v
retrieving revision 1.214
retrieving revision 1.215
diff -u -r1.214 -r1.215
--- xorg-x11-server.spec 30 Mar 2007 19:32:06 -0000 1.214
+++ xorg-x11-server.spec 31 Mar 2007 01:59:13 -0000 1.215
@@ -9,7 +9,7 @@
Summary: X.Org X11 X server
Name: xorg-x11-server
Version: 1.2.99.903
-Release: 1%{?dist}
+Release: 2%{?dist}
URL: http://www.x.org
License: MIT/X11
Group: User Interface/X
@@ -28,6 +28,7 @@
Patch12: xorg-x11-server-1.1.1-graphics-expose.patch
Patch15: xorg-x11-server-1.1.1-automake-1.10-fixes.patch
Patch18: xorg-x11-server-1.1.1-glcore-visual-matching.patch
+Patch19: xorg-x11-server-1.2.99-unbreak-domain.patch
# OpenGL compositing manager feature/optimization patches.
Patch100: xorg-x11-server-1.1.0-no-move-damage.patch
@@ -252,6 +253,7 @@
%patch12 -p1 -b .graphics-expose
%patch15 -p1 -b .automake-1.10
%patch18 -p1 -b .glcore-visual
+%patch19 -p1 -b .unbreak-domains
%patch100 -p0 -b .no-move-damage
%patch101 -p0 -b .dont-backfill-bg-none
@@ -560,6 +562,9 @@
%changelog
+* Fri Mar 30 2007 David Woodhouse <dwmw2 at redhat.com> 1.2.99.903-2
+- Fix regression with PCI domains, but disjoint bus numbers (#207659)
+
* Fri Mar 30 2007 Adam Jackson <ajax at redhat.com> 1.2.99.903-1
- xserver 1.3 RC3.
More information about the fedora-cvs-commits
mailing list