#40905: wine-crossover: error: 'CGDirectPaletteRef' undeclared ---------------------------------+-------------------------- Reporter: francisco.amorim@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: mavericks Port: wine-crossover | ---------------------------------+-------------------------- Changes (by ryandesign@…): * status: new => assigned * cc: ryandesign@… (removed) * cc: jeremyhu@… (added) * owner: jeremyhu@… => ryandesign@… Comment: I can reproduce the problem. The error is: {{{ gdi.c: In function 'device_init': gdi.c:96: error: 'CGDirectPaletteRef' undeclared (first use in this function) gdi.c:96: error: (Each undeclared identifier is reported only once gdi.c:96: error: for each function it appears in.) gdi.c:96: error: expected ';' before 'palette' gdi.c:142: error: 'palette' undeclared (first use in this function) gdi.c:142: warning: implicit declaration of function 'CGPaletteCreateWithDisplay' gdi.c:145: warning: implicit declaration of function 'CGPaletteGetNumberOfSamples' gdi.c:146: warning: implicit declaration of function 'CGPaletteRelease' make[1]: *** [gdi.o] Error 1 }}} This is the same error I previously [ticket:40724 fixed for wine] so I can fix it here as well. -- Ticket URL: <https://trac.macports.org/ticket/40905#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X