[PATCH] fix sdksyms for gcc3

Matthieu Herrb matthieu.herrb at laas.fr
Fri Jan 2 02:21:20 PST 2009


gcc 3.3 (at least) doesn't support visibility attributes, so _X_EXPORT
expands to nothing. This breaks the awk script embedded in
hw/xfree86/loader/sdksyms.sh that expects that an extern function
declaration to be in the form "extern __attribute__(___something___)
type ..."

With the attached patch sdksyms.sh works with gcc 3.3 too.


-- 
Matthieu Herrb
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: sdksyms.diff
URL: <http://lists.x.org/archives/xorg/attachments/20090102/db37d4db/attachment.ksh>


More information about the xorg mailing list