Hello community,

here is the log from the commit of package phonon4qt5 for openSUSE:Factory 
checked in at 2014-10-20 07:27:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/phonon4qt5 (Old)
 and      /work/SRC/openSUSE:Factory/.phonon4qt5.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "phonon4qt5"

Changes:
--------
--- /work/SRC/openSUSE:Factory/phonon4qt5/phonon4qt5.changes    2014-08-16 
15:44:03.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.phonon4qt5.new/phonon4qt5.changes       
2014-10-20 07:27:32.000000000 +0200
@@ -1,0 +2,7 @@
+Sun Oct 19 17:40:57 UTC 2014 - hrvoje.sen...@gmail.com
+
+- Update to 4.8.1:
+   * Version bump
+   * Prevent a crash when failing to create the preferred backend
+
+-------------------------------------------------------------------

Old:
----
  phonon-4.7.80.tar.xz

New:
----
  phonon-4.8.1.tar.xz

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

Other differences:
------------------
++++++ phonon4qt5.spec ++++++
--- /var/tmp/diff_new_pack.Yq0ipE/_old  2014-10-20 07:27:34.000000000 +0200
+++ /var/tmp/diff_new_pack.Yq0ipE/_new  2014-10-20 07:27:34.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package phonon4qt5
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,13 +19,13 @@
 %define rname phonon
 
 Name:           phonon4qt5
-Version:        4.7.80
+Version:        4.8.1
 Release:        0
 Summary:        Multimedia Platform Abstraction
 License:        LGPL-2.0+
 Group:          System/GUI/KDE
 Url:            http://phonon.kde.org/
-Source:         
http://download.kde.org/unstable/%{rname}/%{rname}-%{version}.tar.xz
+Source:         
http://download.kde.org/stable/%{rname}/%{version}/%{rname}-%{version}.tar.xz
 Source1:        baselibs.conf
 BuildRequires:  cmake
 BuildRequires:  fdupes

++++++ phonon-4.7.80.tar.xz -> phonon-4.8.1.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/phonon-4.7.80/CMakeLists.txt 
new/phonon-4.8.1/CMakeLists.txt
--- old/phonon-4.7.80/CMakeLists.txt    2014-08-12 18:53:15.000000000 +0200
+++ new/phonon-4.8.1/CMakeLists.txt     2014-10-15 13:18:52.000000000 +0200
@@ -20,8 +20,8 @@
 # It is highly advised to think twice before changing those.
 # If you are unsure about the this: 
http://plan99.net/~mike/writing-shared-libraries.html
 set(PHONON_LIB_MAJOR_VERSION "4") # Only change on binary incompatible changes
-set(PHONON_LIB_MINOR_VERSION "7") # Only change on binary compatible changes 
with new interfaces
-set(PHONON_LIB_PATCH_VERSION "80") # Bump whenever you feel like it :P
+set(PHONON_LIB_MINOR_VERSION "8") # Only change on binary compatible changes 
with new interfaces
+set(PHONON_LIB_PATCH_VERSION "1") # Bump whenever you feel like it :P
 set(PHONON_LIB_VERSION 
"${PHONON_LIB_MAJOR_VERSION}.${PHONON_LIB_MINOR_VERSION}.${PHONON_LIB_PATCH_VERSION}")
 set(PHONON_LIB_SOVERSION ${PHONON_LIB_MAJOR_VERSION})
 set(PHONON_LIB_SONAME phonon)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/phonon-4.7.80/phonon/factory.cpp 
new/phonon-4.8.1/phonon/factory.cpp
--- old/phonon-4.7.80/phonon/factory.cpp        2014-08-12 18:53:15.000000000 
+0200
+++ new/phonon-4.8.1/phonon/factory.cpp 2014-10-15 13:18:52.000000000 +0200
@@ -199,12 +199,16 @@
         QList<BackendDescriptor>::iterator it;
         for (it = foundBackends.begin(); it != foundBackends.end(); ++it) {
             const BackendDescriptor &descriptor = *it;
-            if (descriptor.iid != iid)
+            if (descriptor.iid != iid) {
                 continue;
-            if (tryCreateBackend(descriptor.pluginPath))
+            }
+            if (tryCreateBackend(descriptor.pluginPath)) {
                 return true;
-            else // Drop backends that failed to construct.
-                foundBackends.erase(it);
+            } else { // Drop backends that failed to construct.
+                it = foundBackends.erase(it);
+                if (it == foundBackends.end())
+                    break;
+            }
         }
     }
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to