Hello community, here is the log from the commit of package perl-Gtk2-Unique for openSUSE:Factory checked in at 2018-07-28 12:39:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Gtk2-Unique (Old) and /work/SRC/openSUSE:Factory/.perl-Gtk2-Unique.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Gtk2-Unique" Sat Jul 28 12:39:48 2018 rev:2 rq:623048 version:0.05 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Gtk2-Unique/perl-Gtk2-Unique.changes 2017-11-09 13:56:55.541020951 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Gtk2-Unique.new/perl-Gtk2-Unique.changes 2018-07-28 12:39:51.392362829 +0200 @@ -1,0 +2,6 @@ +Mon Jul 2 08:15:52 UTC 2018 - dims...@opensuse.org + +- Add Gtk2-Unique-rt120115-Fix-crash.patch: Fix crash on starting + second instances (rt#120115, boo#1099774). + +------------------------------------------------------------------- New: ---- Gtk2-Unique-rt120115-Fix-crash.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Gtk2-Unique.spec ++++++ --- /var/tmp/diff_new_pack.CRLClM/_old 2018-07-28 12:39:51.896363798 +0200 +++ /var/tmp/diff_new_pack.CRLClM/_new 2018-07-28 12:39:51.896363798 +0200 @@ -26,6 +26,8 @@ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Gtk2-Unique/ Source: http://mirrors.ibiblio.org/CPAN/modules/by-module/Gtk2/%{cpan_name}-%{version}.tar.gz +# PATCH-FIX-UPSTREAM Gtk2-Unique-rt120115-Fix-crash.patch rt#120115 dims...@opensuse.org -- Fix crash on starting second instance +Patch0: Gtk2-Unique-rt120115-Fix-crash.patch # libnotify-devel seems to be missing this. see BZ#216946 BuildRequires: gtk2-devel # non-perl @@ -66,6 +68,7 @@ %prep %setup -q -n %{cpan_name}-%{version} +%patch0 -p1 %build perl Makefile.PL INSTALLDIRS="vendor" OPTIMIZE="%{optflags}" ++++++ Gtk2-Unique-rt120115-Fix-crash.patch ++++++ diff --git a/xs/UniqueApp.xs b/xs/UniqueApp.xs index daba209d123d89b1c59a2c84e2ae254aaf895538..cd38bbc3a2e3830927bd74ab52fb2dbb9c7e1a4c 100644 --- a/xs/UniqueApp.xs +++ b/xs/UniqueApp.xs @@ -1,6 +1,8 @@ #include "unique-perl.h" #include <gperl_marshal.h> +G_CONST_RETURN gchar * unique_command_to_string (UniqueApp *app, gint command); + static void perl_unique_app_marshall_message_received ( GClosure *closure,