[cairo] _cairo_directfb_is_similar undeclared in cairo-directfb-surface.c
Hans-Jürgen Koch
hjk at linutronix.de
Wed Jun 20 04:23:18 PDT 2007
Am Dienstag 19 Juni 2007 22:02 schrieb Chris Wilson:
> Hans-Jürgen Koch (hjk at linutronix.de) said:
> > I'm trying to compile cairo-1.4.8 with directfb enabled, and get this error:
> >
> > cairo-directfb-surface.c:1575: error: '_cairo_directfb_is_similar' undeclared here (not in a function)
> >
> > grep doesn't find that identifier in any *.c/*.h file. Can I simply set this pointer to NULL?
>
> Sorry, small typo. Try this instead (I'll push as soon as I can resolve
> git.cairographics.org):
>
> diff --git a/src/cairo-directfb-surface.c b/src/cairo-directfb-surface.c
> index 3dc3863..fa31b06 100644
> --- a/src/cairo-directfb-surface.c
> +++ b/src/cairo-directfb-surface.c
> @@ -1572,7 +1572,7 @@ static cairo_surface_backend_t
> cairo_directfb_surface_back
> NULL, /* show_glyphs */
> #endif
> NULL, /* snapshot */
> - _cairo_directfb_is_similar,
> + _cairo_directfb_surface_is_similar,
> NULL /* reset */
> };
>
Ah, all right. I applied that and it seems to work.
Thanks,
Hans
More information about the cairo
mailing list