diff -Nru libglib-object-introspection-perl-0.050/debian/changelog libglib-object-introspection-perl-0.050/debian/changelog --- libglib-object-introspection-perl-0.050/debian/changelog 2023-06-11 16:30:39.000000000 +0000 +++ libglib-object-introspection-perl-0.050/debian/changelog 2023-06-18 16:10:21.000000000 +0000 @@ -1,3 +1,10 @@ +libglib-object-introspection-perl (0.050-2) unstable; urgency=medium + + * Team upload. + * Add patch from upstream Git to unbreak Gtk3. + + -- gregor herrmann Sun, 18 Jun 2023 18:10:21 +0200 + libglib-object-introspection-perl (0.050-1) unstable; urgency=medium * Team upload. diff -Nru libglib-object-introspection-perl-0.050/debian/patches/0001-Check-for-empty-closures.patch libglib-object-introspection-perl-0.050/debian/patches/0001-Check-for-empty-closures.patch --- libglib-object-introspection-perl-0.050/debian/patches/0001-Check-for-empty-closures.patch 1970-01-01 00:00:00.000000000 +0000 +++ libglib-object-introspection-perl-0.050/debian/patches/0001-Check-for-empty-closures.patch 2023-06-18 16:10:21.000000000 +0000 @@ -0,0 +1,36 @@ +From eef3b1f8662bf76095987eeef41308094693cf3e Mon Sep 17 00:00:00 2001 +From: Emmanuele Bassi +Date: Wed, 29 Mar 2023 19:42:51 +0100 +Subject: [PATCH] Check for empty closures + +The closure field of the callback info structure can be NULL, which +means we need to check before calling functions on it. + +Fixes: https://rt.cpan.org/Public/Bug/Display.html?id=147409 + +Closes: #4 +--- + gperl-i11n-marshal-callback.c | 7 +++++-- + 1 file changed, 5 insertions(+), 2 deletions(-) + +diff --git a/gperl-i11n-marshal-callback.c b/gperl-i11n-marshal-callback.c +index 14ad003..d422de6 100644 +--- a/gperl-i11n-marshal-callback.c ++++ b/gperl-i11n-marshal-callback.c +@@ -57,8 +57,11 @@ sv_to_callback (GIArgInfo * arg_info, + callback_info->closure, callback_info); + + #if GI_CHECK_VERSION (1, 72, 0) +- return g_callable_info_get_closure_native_address (callback_interface_info, +- callback_info->closure); ++ if (callback_info->closure) ++ return g_callable_info_get_closure_native_address (callback_interface_info, ++ callback_info->closure); ++ else ++ return NULL; + #else + return callback_info->closure; + #endif +-- +2.40.1 + diff -Nru libglib-object-introspection-perl-0.050/debian/patches/series libglib-object-introspection-perl-0.050/debian/patches/series --- libglib-object-introspection-perl-0.050/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ libglib-object-introspection-perl-0.050/debian/patches/series 2023-06-18 16:10:21.000000000 +0000 @@ -0,0 +1 @@ +0001-Check-for-empty-closures.patch