[packages/kde4-kopete] - added qt patch (fix QList::contains() result usage)
qboosh
qboosh at pld-linux.org
Wed Jul 28 23:07:36 CEST 2021
commit a06ed8e570f9cb746f77b00ac73e76597b61d98d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Jul 28 23:11:09 2021 +0200
- added qt patch (fix QList::contains() result usage)
kde4-kopete-qt.patch | 11 +++++++++++
kde4-kopete.spec | 2 ++
2 files changed, 13 insertions(+)
---
diff --git a/kde4-kopete.spec b/kde4-kopete.spec
index 9e789d8..f27a69d 100644
--- a/kde4-kopete.spec
+++ b/kde4-kopete.spec
@@ -19,6 +19,7 @@ Patch1: linphone-fix.patch
Patch2: mediastreamer.patch
Patch3: gcc6.patch
Patch4: macros.patch
+Patch5: %{name}-qt.patch
URL: http://www.kde.org/
BuildRequires: automoc4
BuildRequires: cmake >= 2.8.0
@@ -226,6 +227,7 @@ do kopete.
%patch2 -p1
%patch3 -p1
%patch4 -p1
+%patch5 -p1
%build
install -d build
diff --git a/kde4-kopete-qt.patch b/kde4-kopete-qt.patch
new file mode 100644
index 0000000..7bb5e0a
--- /dev/null
+++ b/kde4-kopete-qt.patch
@@ -0,0 +1,11 @@
+--- kopete-4.14.3/protocols/jabber/libiris/src/xmpp/xmpp-im/filetransfer.cpp.orig 2014-11-02 12:16:53.000000000 +0100
++++ kopete-4.14.3/protocols/jabber/libiris/src/xmpp/xmpp-im/filetransfer.cpp 2021-07-28 21:45:47.394356452 +0200
+@@ -430,7 +430,7 @@ FileTransfer *FileTransferManager::takeI
+
+ bool FileTransferManager::isActive(const FileTransfer *ft) const
+ {
+- return d->list.contains(const_cast<FileTransfer*>(ft)) > 0;
++ return d->list.contains(const_cast<FileTransfer*>(ft));
+ }
+
+ void FileTransferManager::setDisabled(const QString &ns, bool state)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kde4-kopete.git/commitdiff/a06ed8e570f9cb746f77b00ac73e76597b61d98d
More information about the pld-cvs-commit
mailing list