#16213: cairo-1.6.4 on PowerPC: error: 'kCGBitmapByteOrder32Host' undeclared --------------------------------+------------------------------------------- Reporter: xidobix@gmail.com | Owner: ryandesign@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: --------------------------------+------------------------------------------- Comment (by ryandesign@macports.org): I've attached [attachment:cairo-kCGBitmapByteOrder32Host.diff a patch] which could fix the Portfile. That is, I can reproduce the problem on my system if I replace my working `CGImage.h` with Andrew's broken one, and then applying the patch to the Portfile allows it to build again. And Vladimir Vukicevic [http://bugs.freedesktop.org/show_bug.cgi?id=16561#c2 confirms] that they do intend to make such a change to cairo as well. But their reason for making the change would be to allow building with Mac OS X 10.3.x. It is still a bug that some users' `CGImage.h` files are missing these definitions on Mac OS X 10.4.x. Either it is an Apple bug in that Apple is providing the wrong file to some users, or it is someone else's bug if someone else is overwriting Apple's header somehow. -- Ticket URL: <http://trac.macports.org/ticket/16213#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS