Bug 25108

Summary: cairo 1.9.4 with Quartz: implicit declaration of function '_cairo_image_surface_create_for_content'
Product: cairo Reporter: Ryan Schmidt <freedesktop>
Component: quartz backendAssignee: Vladimir Vukicevic <vladimir>
Status: RESOLVED FIXED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: medium    
Version: 1.9.4   
Hardware: Other   
OS: Mac OS X (All)   
URL: http://trac.macports.org/ticket/22548
Whiteboard:
i915 platform: i915 features:

Description Ryan Schmidt 2009-11-15 18:05:37 UTC
cairo 1.9.4 doesn't build on Mac OS X Snow Leopard when I ask for Quartz support:


cairo-quartz-image-surface.c:62: error: implicit declaration of function '_cairo_image_surface_create_for_content'



The person who reported the problem to MacPorts suggests changing cairo_image_surface_create_for_content to cairo_image_surface_create_with_content, and I can verify that this allows the port to build, but have not verified whether Quartz support then works.
Comment 1 Chris Wilson 2009-11-16 00:21:27 UTC
Thanks for report. Yes it was just a silly typo that has since been fixed in cairo.git.

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.