Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package perl-Cairo for openSUSE:Factory checked in at 2024-10-30 17:39:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Cairo (Old) and /work/SRC/openSUSE:Factory/.perl-Cairo.new.2020 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "perl-Cairo" Wed Oct 30 17:39:18 2024 rev:42 rq:1219460 version:1.109 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Cairo/perl-Cairo.changes 2021-01-21 21:57:43.293865273 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Cairo.new.2020/perl-Cairo.changes 2024-10-30 17:39:42.833521610 +0100 @@ -1,0 +2,6 @@ +Fri Oct 4 15:14:47 CEST 2024 - mls@suse.de + +- Fix type of length in cairo_surface_set_mime_data + * new patch: set_mime_data_length.diff + +------------------------------------------------------------------- New: ---- set_mime_data_length.diff BETA DEBUG BEGIN: New:- Fix type of length in cairo_surface_set_mime_data * new patch: set_mime_data_length.diff BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Cairo.spec ++++++ --- /var/tmp/diff_new_pack.wLoKqS/_old 2024-10-30 17:39:44.325584113 +0100 +++ /var/tmp/diff_new_pack.wLoKqS/_new 2024-10-30 17:39:44.329584280 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-Cairo # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,6 +26,7 @@ URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/X/XA/XAOC/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml +Patch0: set_mime_data_length.diff BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(ExtUtils::Depends) >= 0.2 ++++++ set_mime_data_length.diff ++++++ --- CairoSurface.xs.orig 2024-10-04 13:12:20.636290906 +0000 +++ CairoSurface.xs 2024-10-04 13:12:53.600240731 +0000 @@ -389,11 +389,11 @@ cairo_status_t cairo_surface_set_mime_data (cairo_surface_t *surface, const char *mime_type, SV *data); PREINIT: const unsigned char *mime_data; - unsigned long length; + STRLEN length; CODE: SvREFCNT_inc (data); mime_data = (const unsigned char *) SvPV(data, length); - RETVAL = cairo_surface_set_mime_data (surface, mime_type, mime_data, length, data_destroy, data); + RETVAL = cairo_surface_set_mime_data (surface, mime_type, mime_data, (unsigned long)length, data_destroy, data); OUTPUT: RETVAL