From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1438639-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 76699158003
	for <garchives@archives.gentoo.org>; Thu, 22 Sep 2022 20:59:32 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 83588E0AD3;
	Thu, 22 Sep 2022 20:59:31 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 68CC2E0AD3
	for <gentoo-commits@lists.gentoo.org>; Thu, 22 Sep 2022 20:59:31 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 38C5B34100E
	for <gentoo-commits@lists.gentoo.org>; Thu, 22 Sep 2022 20:59:30 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id C2EC55C7
	for <gentoo-commits@lists.gentoo.org>; Thu, 22 Sep 2022 20:59:28 +0000 (UTC)
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" <asturm@gentoo.org>
Message-ID: <1663880357.205327edae93c40df284c9face7f0f848ef22c03.asturm@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/choqok/files/, net-im/choqok/
X-VCS-Repository: repo/gentoo
X-VCS-Files: net-im/choqok/choqok-1.7.0-r1.ebuild net-im/choqok/files/choqok-1.7.0-fix-KCModule-warning.patch
X-VCS-Directories: net-im/choqok/files/ net-im/choqok/
X-VCS-Committer: asturm
X-VCS-Committer-Name: Andreas Sturmlechner
X-VCS-Revision: 205327edae93c40df284c9face7f0f848ef22c03
X-VCS-Branch: master
Date: Thu, 22 Sep 2022 20:59:28 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: a42e3add-a91a-4e2d-9aaa-f4b4d45bca37
X-Archives-Hash: 7dd1d0d2c4f720146caceb4998d98336

commit:     205327edae93c40df284c9face7f0f848ef22c03
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 22 20:58:28 2022 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Sep 22 20:59:17 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=205327ed

net-im/choqok: Try to fix build with clang-16

Closes: https://bugs.gentoo.org/871546
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 net-im/choqok/choqok-1.7.0-r1.ebuild               |  1 +
 .../files/choqok-1.7.0-fix-KCModule-warning.patch  | 43 ++++++++++++++++++++++
 2 files changed, 44 insertions(+)

diff --git a/net-im/choqok/choqok-1.7.0-r1.ebuild b/net-im/choqok/choqok-1.7.0-r1.ebuild
index 347ae3c26c3d..665a4a472330 100644
--- a/net-im/choqok/choqok-1.7.0-r1.ebuild
+++ b/net-im/choqok/choqok-1.7.0-r1.ebuild
@@ -60,6 +60,7 @@ PATCHES=(
 	"${WORKDIR}/${P}-choqokplugin.patch"
 	"${WORKDIR}/${P}-fix-layout-of-tweets.patch" # KDE-bug 424938
 	"${WORKDIR}/${P}-fix-partially-static-signatures.patch" # KDE-bug 417297
+	"${FILESDIR}/${P}-fix-KCModule-warning.patch" # bug 871546, git master
 )
 
 src_configure() {

diff --git a/net-im/choqok/files/choqok-1.7.0-fix-KCModule-warning.patch b/net-im/choqok/files/choqok-1.7.0-fix-KCModule-warning.patch
new file mode 100644
index 000000000000..26721514ca04
--- /dev/null
+++ b/net-im/choqok/files/choqok-1.7.0-fix-KCModule-warning.patch
@@ -0,0 +1,43 @@
+From 9c488d8f776b5e7462e8e57dc2b15db5fe28815a Mon Sep 17 00:00:00 2001
+From: Andrea Scarpino <scarpino@kde.org>
+Date: Sat, 8 Feb 2020 16:06:18 +0100
+Subject: [PATCH] Fix warning about KCModule::changed
+
+---
+ choqok/config/behavior/behaviorconfig.cpp    | 4 ++--
+ choqok/config/plugins/choqokpluginconfig.cpp | 3 +--
+ 2 files changed, 3 insertions(+), 4 deletions(-)
+
+diff --git a/choqok/config/behavior/behaviorconfig.cpp b/choqok/config/behavior/behaviorconfig.cpp
+index a25b0196..fb1d16b3 100644
+--- a/choqok/config/behavior/behaviorconfig.cpp
++++ b/choqok/config/behavior/behaviorconfig.cpp
+@@ -95,9 +95,9 @@ BehaviorConfig::BehaviorConfig(QWidget *parent, const QVariantList &args)
+     d->mBehaviorTabCtl->addTab(d->proxyModule, proxyInfo.moduleName());
+ 
+     connect(d->mPrfsShorten, (void (BehaviorConfig_Shorten::*)(bool))&BehaviorConfig_Shorten::changed,
+-            this, (void (KCModule::*)())&KCModule::changed);
++            this, &BehaviorConfig::markAsChanged);
+     connect(d->proxyModule, (void (KCModuleProxy::*)(KCModuleProxy*))&KCModuleProxy::changed,
+-            this, (void (KCModule::*)())&KCModule::changed);
++            this, &BehaviorConfig::markAsChanged);
+ 
+     load();
+ 
+diff --git a/choqok/config/plugins/choqokpluginconfig.cpp b/choqok/config/plugins/choqokpluginconfig.cpp
+index 1a5f4fc2..4f36d608 100644
+--- a/choqok/config/plugins/choqokpluginconfig.cpp
++++ b/choqok/config/plugins/choqokpluginconfig.cpp
+@@ -46,8 +46,7 @@ ChoqokPluginConfig::ChoqokPluginConfig(QWidget *parent, const QVariantList &args
+     mainLayout->setMargin(0);
+     mainLayout->addWidget(m_pluginSelector);
+ 
+-    connect(m_pluginSelector, &KPluginSelector::changed, this,
+-            (void (KCModule::*)())&KCModule::changed);
++    connect(m_pluginSelector, &KPluginSelector::changed, this, &ChoqokPluginConfig::markAsChanged);
+     connect(m_pluginSelector, &KPluginSelector::configCommitted,
+             this, &ChoqokPluginConfig::reparseConfiguration);
+ 
+-- 
+GitLab
+