Bug 18478

Summary: Build broken against x.org 6.8.1
Product: cairo Reporter: Grahame Bowland <grahame>
Component: xlib backendAssignee: Carl Worth <cworth>
Status: RESOLVED DUPLICATE QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: medium    
Version: 1.8.2   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Grahame Bowland 2008-11-11 00:08:30 UTC
I get the following compile error building cairo-1.8.2 against x.org 6.8.1 (from Fedora Core 4.)

cairo-xlib-surface.c: In function ‘_cairo_xlib_surface_set_attributes’:
cairo-xlib-surface.c:1440: error: ‘RepeatNone’ undeclared (first use in this function)
cairo-xlib-surface.c:1440: error: (Each undeclared identifier is reported only once
cairo-xlib-surface.c:1440: error: for each function it appears in.)
cairo-xlib-surface.c:1443: error: ‘RepeatNormal’ undeclared (first use in this function)

It looks like RepeatNone and RepeatNormal aren't in the older RENDER header file. Hence the build error. The check which turns on and off 
CAIRO_HAS_XLIB_XRENDER_SURFACE probably needs to be tightened up.
Comment 1 Carl Worth 2008-11-14 00:43:53 UTC

*** This bug has been marked as a duplicate of bug 18385 ***

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.