a7067a7
These functions are only declared in the non-installed, private header
a7067a7
file.  Add declarations for now, so that things keep building.
a7067a7
a7067a7
This looks like it fixes a pointer trucation issue.
a7067a7
a7067a7
Submitted upstream: <https://rt.cpan.org/Ticket/Display.html?id=145548>
a7067a7
a7067a7
diff -ur Goo-Canvas-0.06.orig/goocanvas-perl.h Goo-Canvas-0.06/goocanvas-perl.h
a7067a7
--- Goo-Canvas-0.06.orig/goocanvas-perl.h	2007-09-29 02:59:38.000000000 +0200
a7067a7
+++ Goo-Canvas-0.06/goocanvas-perl.h	2022-12-09 21:09:33.927299572 +0100
a7067a7
@@ -9,6 +9,10 @@
a7067a7
 #include "cairo-perl.h"
a7067a7
 #include "goocanvas.h"
a7067a7
 
a7067a7
+/* From goocanvasprivate.h.  */
a7067a7
+cairo_pattern_t* goo_canvas_cairo_pattern_from_pixbuf (GdkPixbuf *pixbuf);
a7067a7
+cairo_surface_t* goo_canvas_cairo_surface_from_pixbuf (GdkPixbuf *pixbuf);
a7067a7
+
a7067a7
 /* FIXME: How to avoid compile error in autogen.h */
a7067a7
 #define GooCairoPattern cairo_pattern_t
a7067a7
 #define GooCairoMatrix cairo_matrix_t