[packages/perl-Goo-Canvas] add prototypes for two internal goocanvas symbols

atler atler at pld-linux.org
Sun Jul 27 15:16:16 CEST 2025


commit d83d3ef43a6939ba5c172dd4ad5e16beb344b32d
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun Jul 27 15:15:19 2025 +0200

    add prototypes for two internal goocanvas symbols

 perl-Goo-Canvas.spec |  2 ++
 prototypes.patch     | 12 ++++++++++++
 2 files changed, 14 insertions(+)
---
diff --git a/perl-Goo-Canvas.spec b/perl-Goo-Canvas.spec
index f04983d..bbac0a4 100644
--- a/perl-Goo-Canvas.spec
+++ b/perl-Goo-Canvas.spec
@@ -13,6 +13,7 @@ License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-authors/id/Y/YE/YEWENBIN/Goo-Canvas-%{version}.tar.gz
 # Source0-md5:	7dfe0be8c17bfd641d18384d4fd8fb23
+Patch0:		prototypes.patch
 URL:		http://search.cpan.org/dist/Goo-Canvas/
 BuildRequires:	goocanvas-devel >= 0.9
 BuildRequires:	perl(ExtUtils::Depends) >= 0.2
@@ -35,6 +36,7 @@ GooCanvas.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
+%patch -P0 -p1
 
 %build
 %{__perl} Makefile.PL \
diff --git a/prototypes.patch b/prototypes.patch
new file mode 100644
index 0000000..6d3389d
--- /dev/null
+++ b/prototypes.patch
@@ -0,0 +1,12 @@
+--- Goo-Canvas-0.06/xs/goocanvas.xs.orig	2025-07-27 13:41:44.946252284 +0200
++++ Goo-Canvas-0.06/xs/goocanvas.xs	2025-07-27 15:02:53.198799449 +0200
+@@ -1,5 +1,9 @@
+ #include "goocanvas-perl.h"
+ 
++cairo_surface_t* goo_canvas_cairo_surface_from_pixbuf(GdkPixbuf* pixbuf);
++
++cairo_pattern_t* goo_canvas_cairo_pattern_from_pixbuf(GdkPixbuf* pixbuf);
++
+ MODULE = Goo::Canvas		PACKAGE = Goo::Canvas   PREFIX = goo_canvas_
+ =head1 SYNOPSIS
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Goo-Canvas.git/commitdiff/d83d3ef43a6939ba5c172dd4ad5e16beb344b32d



More information about the pld-cvs-commit mailing list