From 26d25b2f59c65d3ec93ef8ad8145e646f9ed7ed8 Mon Sep 17 00:00:00 2001 From: joerg Date: Tue, 26 May 2020 11:27:01 +0000 Subject: Pointers and 0 are not ordered relativ to each. --- chat/konversation/distinfo | 5 ++++- chat/konversation/patches/patch-src_irc_inputfilter.cpp | 13 +++++++++++++ chat/konversation/patches/patch-src_irc_irccharsets.cpp | 13 +++++++++++++ chat/konversation/patches/patch-src_irc_server.cpp | 13 +++++++++++++ 4 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 chat/konversation/patches/patch-src_irc_inputfilter.cpp create mode 100644 chat/konversation/patches/patch-src_irc_irccharsets.cpp create mode 100644 chat/konversation/patches/patch-src_irc_server.cpp (limited to 'chat/konversation') diff --git a/chat/konversation/distinfo b/chat/konversation/distinfo index b50b45f9964..54fa865978a 100644 --- a/chat/konversation/distinfo +++ b/chat/konversation/distinfo @@ -1,7 +1,10 @@ -$NetBSD: distinfo,v 1.16 2015/11/03 01:20:21 agc Exp $ +$NetBSD: distinfo,v 1.17 2020/05/26 11:27:01 joerg Exp $ SHA1 (konversation-1.5.1.tar.xz) = 1b69db93d2c0a38b631dd92065fa6e7490ffbfbe RMD160 (konversation-1.5.1.tar.xz) = 39344ae0934271669092bc4df826f73c69304360 SHA512 (konversation-1.5.1.tar.xz) = c34def02b776692134e40f6a6fc8a7d362a58d1365a247f21828e08a0df95aface809e23f187f7c445112ce3e8cc41826ef8558de5b224258269c67ea6826615 Size (konversation-1.5.1.tar.xz) = 3188288 bytes SHA1 (patch-src_dcc_dcccommon.cpp) = 59578bd54bd3f45eb03ddb43a8d3d3492d7a0ca6 +SHA1 (patch-src_irc_inputfilter.cpp) = 27c3a4bf850e16c284595a8e02eae311d8f57896 +SHA1 (patch-src_irc_irccharsets.cpp) = 815de8471ecdb761abe16fb97ef514b17cdb4a89 +SHA1 (patch-src_irc_server.cpp) = 9246cf1e16e8d52460f1156a5ec4a1e67e045fae diff --git a/chat/konversation/patches/patch-src_irc_inputfilter.cpp b/chat/konversation/patches/patch-src_irc_inputfilter.cpp new file mode 100644 index 00000000000..c0f8fa9f5c6 --- /dev/null +++ b/chat/konversation/patches/patch-src_irc_inputfilter.cpp @@ -0,0 +1,13 @@ +$NetBSD: patch-src_irc_inputfilter.cpp,v 1.1 2020/05/26 11:27:01 joerg Exp $ + +--- src/irc/inputfilter.cpp.orig 2020-05-25 23:58:34.377765792 +0000 ++++ src/irc/inputfilter.cpp +@@ -2335,7 +2335,7 @@ int InputFilter::getAutomaticRequest(con + + void InputFilter::addWhoRequest(const QString& name) { m_whoRequestList << name.toLower(); } + +-bool InputFilter::isWhoRequestUnderProcess(const QString& name) { return (m_whoRequestList.contains(name.toLower())>0); } ++bool InputFilter::isWhoRequestUnderProcess(const QString& name) { return (m_whoRequestList.contains(name.toLower())); } + + void InputFilter::setLagMeasuring(bool state) { m_lagMeasuring=state; } + diff --git a/chat/konversation/patches/patch-src_irc_irccharsets.cpp b/chat/konversation/patches/patch-src_irc_irccharsets.cpp new file mode 100644 index 00000000000..a096b4e72cd --- /dev/null +++ b/chat/konversation/patches/patch-src_irc_irccharsets.cpp @@ -0,0 +1,13 @@ +$NetBSD: patch-src_irc_irccharsets.cpp,v 1.1 2020/05/26 11:27:01 joerg Exp $ + +--- src/irc/irccharsets.cpp.orig 2020-05-25 23:57:59.317709054 +0000 ++++ src/irc/irccharsets.cpp +@@ -90,7 +90,7 @@ namespace Konversation + + bool IRCCharsets::isValidEncoding( const QString& shortName ) + { +- return ( m_shortNames.contains( shortName ) > 0 ); ++ return ( m_shortNames.contains( shortName ) ); + } + + QString IRCCharsets::encodingForLocale() diff --git a/chat/konversation/patches/patch-src_irc_server.cpp b/chat/konversation/patches/patch-src_irc_server.cpp new file mode 100644 index 00000000000..1633d123131 --- /dev/null +++ b/chat/konversation/patches/patch-src_irc_server.cpp @@ -0,0 +1,13 @@ +$NetBSD: patch-src_irc_server.cpp,v 1.1 2020/05/26 11:27:01 joerg Exp $ + +--- src/irc/server.cpp.orig 2020-05-25 23:52:06.113560096 +0000 ++++ src/irc/server.cpp +@@ -3709,7 +3709,7 @@ bool Server::isAChannel(const QString &c + { + if (channel.isEmpty()) return false; + +- return (getChannelTypes().contains(channel.at(0)) > 0); ++ return (getChannelTypes().contains(channel.at(0))); + } + + void Server::addRawLog(bool show) -- cgit v1.2.3