Bug 15685

Summary: fix for AtomBios/includes/CD_Common_Types.h
Product: xorg Reporter: Julien Cristau <jcristau>
Component: Driver/radeonhdAssignee: Luc Verhaegen <lverhaegen>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium Keywords: patch
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
patch none

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.