]> git.pld-linux.org Git - packages/X11.git/blob - X11-pci-build.patch
- pci-build patch
[packages/X11.git] / X11-pci-build.patch
1 In file included from linuxPci.c:211:
2 pci.h:174:1: warning: "PCI_CB_IO_RANGE_MASK" redefined
3 In file included from /home/users/builder2/rpm/BUILD/X11-6.8.2/xc/programs/Xserver/hw/xfree86/common/xf86str.h:45,
4                  from /home/users/builder2/rpm/BUILD/X11-6.8.2/xc/programs/Xserver/hw/xfree86/common/xf86.h:40,
5                  from linuxPci.c:50:
6 /home/users/builder2/rpm/BUILD/X11-6.8.2/xc/programs/Xserver/hw/xfree86/common/xf86Pci.h:394:1: warning: this is the location of the previous definition
7 In file included from linuxPci.c:211:
8 pci.h:454: error: parse error before "pci_power_t"
9 pci.h:454: warning: type defaults to `int' in declaration of `pci_power_t'
10 pci.h:454: warning: data definition has no type or storage class
11
12 --- X11-6.8.2/xc/programs/Xserver/hw/xfree86/os-support/bus/xf86Pci.h.orig      2003-11-25 19:28:50.000000000 +0000
13 +++ X11-6.8.2/xc/programs/Xserver/hw/xfree86/os-support/bus/xf86Pci.h   2005-03-30 15:43:27.084457168 +0000
14 @@ -391,7 +391,8 @@
15  #define PCI_CB_IO_LIMIT_1_REG          0x38
16  #define PCI_CB_BRIDGE_CONTROL_REG      0x3E
17  
18 -#define PCI_CB_IO_RANGE_MASK           ~0x03
19 +#include <linux/pci.h>
20 +
21  #define PCI_CB_IOBASE(x)               (x & PCI_CB_IO_RANGE_MASK)
22  #define PCI_CB_IOLIMIT(x)              ((x & PCI_CB_IO_RANGE_MASK) + 3)
23  
This page took 0.021909 seconds and 3 git commands to generate.