Bug 6217 - [PATCH] Fails to build on x86_64-*-kfreebsd-gnu
Summary: [PATCH] Fails to build on x86_64-*-kfreebsd-gnu
Status: CLOSED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: 6.9.0
Hardware: x86 (IA32) other
: high normal
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2006-03-10 21:26 UTC by Robert Millan
Modified: 2006-06-03 07:04 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
New patch, updated for 7.0. (478 bytes, patch)
2006-04-20 00:32 UTC, Robert Millan
no flags Details | Splinter Review

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.