aboutsummaryrefslogtreecommitdiff
path: root/x11-servers/XFree86-4-Server/files/patch-Pci.h
diff options
context:
space:
mode:
Diffstat (limited to 'x11-servers/XFree86-4-Server/files/patch-Pci.h')
-rw-r--r--x11-servers/XFree86-4-Server/files/patch-Pci.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/x11-servers/XFree86-4-Server/files/patch-Pci.h b/x11-servers/XFree86-4-Server/files/patch-Pci.h
new file mode 100644
index 000000000000..f7286b494cea
--- /dev/null
+++ b/x11-servers/XFree86-4-Server/files/patch-Pci.h
@@ -0,0 +1,13 @@
+--- programs/Xserver/hw/xfree86/os-support/bus/Pci.h.orig Tue Mar 4 16:42:16 2003
++++ programs/Xserver/hw/xfree86/os-support/bus/Pci.h Tue Mar 4 16:42:21 2003
+@@ -230,6 +230,10 @@
+ # define ARCH_PCI_INIT linuxPciInit
+ # define INCLUDE_XF86_MAP_PCI_MEM
+ # define INCLUDE_XF86_NO_DOMAIN
++# elif defined(FreeBSD)
++# define ARCH_PCI_INIT freebsdPciInit
++# define INCLUDE_XF86_MAP_PCI_MEM
++# define INCLUDE_XF86_NO_DOMAIN
+ # endif
+ # define XF86SCANPCI_WRAPPER ia64ScanPCIWrapper
+ #elif defined(__i386__)