File Goo-Canvas-0.06-add_missing_prototype.patch of Package perl-Goo-Canvas

Index: xs/goocanvas.xs
===================================================================
--- xs/goocanvas.xs.orig
+++ xs/goocanvas.xs
@@ -1,4 +1,8 @@
 #include "goocanvas-perl.h"
+#include <cairo/cairo.h>
+
+extern cairo_pattern_t* goo_canvas_cairo_pattern_from_pixbuf(GdkPixbuf* pixbuf);
+extern cairo_surface_t* goo_canvas_cairo_surface_from_pixbuf(GdkPixbuf* pixbuf);
 
 MODULE = Goo::Canvas		PACKAGE = Goo::Canvas   PREFIX = goo_canvas_
 =head1 SYNOPSIS
Index: xs/goocanvasgroup.xs
===================================================================
--- xs/goocanvasgroup.xs.orig
+++ xs/goocanvasgroup.xs
@@ -1,4 +1,6 @@
 #include "goocanvas-perl.h"
+#include <cairo/cairo.h>
+extern cairo_surface_t *goo_canvas_cairo_pattern_from_pixbuf (GdkPixbuf *pixbuf);
 
 MODULE = Goo::Canvas::Group		PACKAGE = Goo::Canvas::Group   PREFIX = goo_canvas_group_
 
openSUSE Build Service is sponsored by