Bug 6217

Summary: [PATCH] Fails to build on x86_64-*-kfreebsd-gnu
Product: xorg Reporter: Robert Millan <rmh>
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: high CC: erik.andren
Version: 6.9.0Keywords: patch
Hardware: x86 (IA32)   
OS: other   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
New patch, updated for 7.0. none

Description Robert Millan 2006-03-10 21:26:30 UTC
Fixes build on x86_64-*-kfreebsd-gnu (GNU/kFreeBSD for amd64).

Patch by Aurelien Jarno.

--- xc/programs/Xserver/hw/xfree86/os-support/bus/Pci.h 2005-12-29
03:34:56.000000000 +0100
+++ xc/programs/Xserver/hw/xfree86/os-support/bus/Pci.h 2006-03-06
01:07:22.000000000 +0100
@@ -334,7 +334,7 @@
 #  define ARCH_PCI_PCI_BRIDGE sparcPciPciBridge
 # endif
 #elif defined(__amd64__) || defined(__amd64)
-# if defined(__FreeBSD__)
+# if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
 #  define ARCH_PCI_INIT freebsdPciInit
 # else
 #  define ARCH_PCI_INIT ix86PciInit
Comment 1 Erik Andren 2006-04-18 05:13:56 UTC
Added patch keyword
Comment 2 Robert Millan 2006-04-20 00:32:42 UTC
Created attachment 5380 [details] [review]
New patch, updated for 7.0.
Comment 3 Daniel Stone 2006-06-03 03:45:55 UTC
committed to HEAD
Comment 4 Robert Millan 2006-06-03 07:04:13 UTC
Thanks!

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.