Bug 15685 - fix for AtomBios/includes/CD_Common_Types.h
Summary: fix for AtomBios/includes/CD_Common_Types.h
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/radeonhd (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Luc Verhaegen
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2008-04-23 18:03 UTC by Julien Cristau
Modified: 2008-04-28 11:42 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
patch (806 bytes, patch)
2008-04-23 18:03 UTC, Julien Cristau
no flags Details | Splinter Review

Description Julien Cristau 2008-04-23 18:03:25 UTC
Created attachment 16143 [details] [review]
patch

atombios redefines the standard types (wtf?) with typedefs that conflict with those from <stdint.h>.  This breaks the build on gnu/hurd and gnu/kfreebsd (see e.g. http://buildd.debian-ports.org/fetch.php?&pkg=xserver-xorg-video-radeonhd&ver=1.2.1-1&arch=kfreebsd-i386&stamp=1208897391&file=log&as=raw).

The attached patch adds a check for __GLIBC__ to get matching typedefs in atombios and <stdint.h>.
Comment 1 Egbert Eich 2008-04-28 11:42:29 UTC
Fix committed.


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.