Error message: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/cairo -I/usr/X11R6/include -I/usr/include/libpng12 -I/usr/X11R6/include -march=athlon-xp -O2 -pipe -fomit-frame-pointer -MT svg_cairo_sprintf_alloc.lo -MD -MP -MF .deps/svg_cairo_sprintf_alloc.Tpo -c svg_cairo_sprintf_alloc.c -o svg_cairo_sprintf_alloc.o >/dev/null 2>&1 In file included from svg_cairo.c:32: svg-cairo-internal.h:91: error: parse error before "va_list" svg_cairo.c: In function `_svg_cairo_set_gradient': svg_cairo.c:604: warning: passing arg 2 of `cairo_set_pattern' from incompatible pointer type svg_cairo.c: In function `_svg_cairo_set_pattern': svg_cairo.c:650: warning: passing arg 2 of `cairo_set_pattern' from incompatible pointer type make[2]: *** [svg_cairo.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/libsvg-cairo-0.1.4/work/libsvg-cairo-0.1.4/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/libsvg-cairo-0.1.4/work/libsvg-cairo-0.1.4' make: *** [all] Error 2 Solution: src_unpack() { unpack ${A} sed -i -e "32i#include <stdarg.h>" ${S}/src/svg-cairo-internal.h }
Thanks very much lucass -- now in CVS.