Bug 18478 - Build broken against x.org 6.8.1
Summary: Build broken against x.org 6.8.1
Status: RESOLVED DUPLICATE of bug 18385
Alias: None
Product: cairo
Classification: Unclassified
Component: xlib backend (show other bugs)
Version: 1.8.2
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
Depends on:
Reported: 2008-11-11 00:08 UTC by Grahame Bowland
Modified: 2008-11-14 00:43 UTC (History)
0 users

See Also:
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.