Hello community,

here is the log from the commit of package perl-Gtk2-Unique for 
openSUSE:Factory checked in at 2019-01-28 20:49:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Gtk2-Unique (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Gtk2-Unique.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Gtk2-Unique"

Mon Jan 28 20:49:08 2019 rev:3 rq:668938 version:0.05

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Gtk2-Unique/perl-Gtk2-Unique.changes        
2018-07-28 12:39:51.392362829 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-Gtk2-Unique.new.28833/perl-Gtk2-Unique.changes 
    2019-01-28 20:49:58.901807936 +0100
@@ -1,0 +2,6 @@
+Sun Jan 27 16:52:14 UTC 2019 - [email protected]
+
+- Add Gtk2-Unique-Fix-crash.patch: Fix crash on starting
+  second instances
+
+-------------------------------------------------------------------

New:
----
  Gtk2-Unique-Fix-crash.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Gtk2-Unique.spec ++++++
--- /var/tmp/diff_new_pack.Lkz64x/_old  2019-01-28 20:49:59.417807392 +0100
+++ /var/tmp/diff_new_pack.Lkz64x/_new  2019-01-28 20:49:59.421807388 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Gtk2-Unique
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2011 Sascha Manns <[email protected]>
 #
 # All modifications and additions to the file contributed by third parties
@@ -22,12 +22,14 @@
 Version:        0.05
 Release:        0
 Summary:        Perl bindings for the C library "libunique"
-License:        LGPL-2.1+
+License:        LGPL-2.1-or-later
 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 
[email protected] -- Fix crash on starting second instance
 Patch0:         Gtk2-Unique-rt120115-Fix-crash.patch
+# PATCH-FIX-UPSTREAM Gtk2-Unique-Fix-crash.patch see boo#1099774 -- upstream 
commit: 8ac892efdf480efbca75dc1729fc9aa45708618e
+Patch1:         Gtk2-Unique-Fix-crash.patch
 # libnotify-devel seems to be missing this.  see BZ#216946
 BuildRequires:  gtk2-devel
 # non-perl
@@ -69,6 +71,7 @@
 %prep
 %setup -q -n %{cpan_name}-%{version}
 %patch0 -p1
+%patch1 -p1
 
 %build
 perl Makefile.PL INSTALLDIRS="vendor" OPTIMIZE="%{optflags}"

++++++ Gtk2-Unique-Fix-crash.patch ++++++
diff --git a/xs/UniqueMessageData.xs b/xs/UniqueMessageData.xs
index 7c58710..eeee886 100644
--- a/xs/UniqueMessageData.xs
+++ b/xs/UniqueMessageData.xs
@@ -38,7 +38,7 @@ SV*
 unique_message_data_get (UniqueMessageData *message_data)
        PREINIT:
                const guchar *string = NULL;
-               gint length = 0;
+               gsize length = 0;
                
        CODE:
                string = unique_message_data_get(message_data, &length);

Reply via email to