Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package utsushi for openSUSE:Factory checked 
in at 2022-05-25 20:34:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/utsushi (Old)
 and      /work/SRC/openSUSE:Factory/.utsushi.new.2254 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "utsushi"

Wed May 25 20:34:28 2022 rev:6 rq:979054 version:1638580181.839d06a

Changes:
--------
--- /work/SRC/openSUSE:Factory/utsushi/utsushi.changes  2022-02-05 
23:24:38.603325459 +0100
+++ /work/SRC/openSUSE:Factory/.utsushi.new.2254/utsushi.changes        
2022-05-25 20:34:44.948243291 +0200
@@ -1,0 +2,7 @@
+Tue May 24 20:19:31 UTC 2022 - Jan Baier <[email protected]>
+
+- Fix compatibility with GCC12:
+  - add 0005-fix-gcc12-werror-address.patch
+  - add 0006-fix-gcc12-bind2nd-deprecated.patch
+
+-------------------------------------------------------------------

New:
----
  0005-fix-gcc12-werror-address.patch
  0006-fix-gcc12-bind2nd-deprecated.patch

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

Other differences:
------------------
++++++ utsushi.spec ++++++
--- /var/tmp/diff_new_pack.TmkKDr/_old  2022-05-25 20:34:45.928244659 +0200
+++ /var/tmp/diff_new_pack.TmkKDr/_new  2022-05-25 20:34:45.932244665 +0200
@@ -28,6 +28,8 @@
 Patch1:         0002-avoid-version-for-dynamic-libs.patch
 Patch2:         0003-fix-uint-deprecation.patch
 Patch3:         0004-change-sane-version-check.patch
+Patch4:         0005-fix-gcc12-werror-address.patch
+Patch5:         0006-fix-gcc12-bind2nd-deprecated.patch
 BuildRequires:  autoconf
 BuildRequires:  autoconf-archive
 BuildRequires:  automake
@@ -75,6 +77,8 @@
 %patch1
 %patch2
 %patch3
+%patch4
+%patch5
 ./bootstrap
 
 %build

++++++ 0005-fix-gcc12-werror-address.patch ++++++
--- gtkmm/file-chooser.cpp      2022-05-24 21:03:51.102152372 +0200
+++ gtkmm/file-chooser.cpp      2022-05-24 21:34:25.226183683 +0200
@@ -268,7 +268,7 @@
                          " format or use one of the known file extensions."))
             % ext).str ());

-        if (dynamic_cast< Gtk::Window * > (this))
+        if (auto *ptr = dynamic_cast< Gtk::Window * > (this); ptr != nullptr)
           get_group ()->add_window (tbd);

         tbd.run ();
@@ -293,7 +293,7 @@
                            " a filename such as 'Untitled-%%3i%2%'."))
               % fmt % get_current_extension ()).str ());

-          if (dynamic_cast< Gtk::Window * > (this))
+          if (auto *ptr = dynamic_cast< Gtk::Window * > (this); ptr != nullptr)
             get_group ()->add_window (tbd);

           tbd.run ();
@@ -346,7 +346,7 @@
   tbd.add_button (Gtk::Stock::YES, Gtk::RESPONSE_ACCEPT);
   tbd.set_default_response (Gtk::RESPONSE_ACCEPT);

-  if (dynamic_cast< Gtk::Window * > (this))
+  if (auto *ptr = dynamic_cast< Gtk::Window * > (this); ptr != nullptr)
     get_group ()->add_window (tbd);

   if (Gtk::RESPONSE_ACCEPT != tbd.run ())

++++++ 0006-fix-gcc12-bind2nd-deprecated.patch ++++++
--- drivers/esci/vector.hpp     2022-05-24 21:03:51.262152375 +0200
+++ drivers/esci/vector.hpp     2022-05-24 22:00:34.382210471 +0200
@@ -82,14 +82,14 @@
     vector& operator*= (const T& t)
     {
       std::transform (this->begin (), this->end (), this->begin (),
-                      std::bind2nd (std::multiplies<T> (), t));
+                      std::bind (std::multiplies<T> (), std::placeholders::_1, 
t));
       return *this;
     }

     vector& operator/= (const T& t)
     {
       std::transform (this->begin (), this->end (), this->begin (),
-                      std::bind2nd (std::divides<T> (), t));
+                      std::bind (std::divides<T> (), std::placeholders::_1, 
t));
       return *this;
     }

Reply via email to