Hello community, here is the log from the commit of package kvirc for openSUSE:Factory checked in at 2016-07-12 23:52:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kvirc (Old) and /work/SRC/openSUSE:Factory/.kvirc.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kvirc" Changes: -------- --- /work/SRC/openSUSE:Factory/kvirc/kvirc.changes 2013-07-31 18:31:21.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.kvirc.new/kvirc.changes 2016-07-12 23:52:18.000000000 +0200 @@ -1,0 +2,7 @@ +Thu Jul 7 10:29:01 UTC 2016 - [email protected] + +- Add fix-processEvents.patch: fixes use of wrong operator when + constructing the parameter to QApplication::processEvents(), and + as a result also the build with gcc6 (boo#985191) + +------------------------------------------------------------------- New: ---- fix-processEvents.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kvirc.spec ++++++ --- /var/tmp/diff_new_pack.j842wJ/_old 2016-07-12 23:52:19.000000000 +0200 +++ /var/tmp/diff_new_pack.j842wJ/_new 2016-07-12 23:52:19.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package kvirc # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,6 +24,8 @@ Group: Productivity/Networking/IRC Url: http://www.kvirc.net/ Source: ftp://ftp.kvirc.de/pub/kvirc/%{version}/source/kvirc-%{version}.tar.bz2 +# PATCH-FIX-UPSTREAM fix-processEvents.patch [email protected] -- fixes use of wrong operator when constructing the parameter to QApplication::processEvents(), and as a result also the build with gcc6 +Patch: fix-processEvents.patch %define _realversion 4.0 BuildRequires: audiofile-devel BuildRequires: fdupes @@ -59,6 +61,7 @@ %prep %setup -q -n kvirc-%{version} +%patch -p1 sed -i -e 's|@CMAKE_KVIRC_BUILD_DATE@||g' cmake/kvirc-config.cmake %build ++++++ fix-processEvents.patch ++++++ --- a/src/kvirc/kernel/KviIrcConnection.cpp +++ a/src/kvirc/kernel/KviIrcConnection.cpp @@ -669,7 +669,7 @@ void KviIrcConnection::closeAllChannels() while(m_pChannelList->first()) { m_pChannelList->first()->close(); - QApplication::processEvents(QEventLoop::ExcludeSocketNotifiers & QEventLoop::ExcludeUserInputEvents); + QApplication::processEvents(QEventLoop::ExcludeSocketNotifiers | QEventLoop::ExcludeUserInputEvents); } } @@ -678,7 +678,7 @@ void KviIrcConnection::closeAllQueries() while(m_pQueryList->first()) { m_pQueryList->first()->close(); - QApplication::processEvents(QEventLoop::ExcludeSocketNotifiers & QEventLoop::ExcludeUserInputEvents); + QApplication::processEvents(QEventLoop::ExcludeSocketNotifiers | QEventLoop::ExcludeUserInputEvents); } }
