Received: by mail.netbsd.org (Postfix, from userid 605) id 1A02184D91; Wed, 28 Feb 2024 11:13:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1709118800; bh=0cBWTPx5IyqtVaCTHnXkPcRLcfop+zsEzcyAjTFcaFc=; h=Date:From:Subject:To:Reply-To:List-Id:List-Unsubscribe; b=Gg5/iZkZbRexVB1Q0xfKKH1tgvtR3ZUZ8SO0u9aa7Gi059Vh3SBtfoTTTigOX92Sf zNUlDTvXlNE1xDh09c8DBw6dD1Ygi2KRO44fdD8xpMfPIHPaa7gBgxZ2DaPh62+u8m oweccyYxqTW16UPV0H5KpI+/XwNRHeIFsIU2HSWY= Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 0D33184D84 for ; Wed, 28 Feb 2024 11:13:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Authentication-Results: mail.netbsd.org (amavisd-new); dkim=pass (1024-bit key) header.d=netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id Mubh22o0Wnge for ; Wed, 28 Feb 2024 11:13:18 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 78F2384D4E for ; Wed, 28 Feb 2024 11:13:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1709118798; bh=0cBWTPx5IyqtVaCTHnXkPcRLcfop+zsEzcyAjTFcaFc=; h=Date:From:Subject:To:Reply-To; b=ei+XB1NMtOr97QMO/3YCDybDiBqGTb+mbex6yDyLK64WMVMX/+6fXIjJl/iydF7kp fr8NQ6JtVVR/cRPpOeZREZB4uWJXj/4fqVq9s+h7YMfQ5p1pjw8KqVYNlW7XC8Drhu 2PgYlI7IFIK3tWRwyr2SVYy5nwCxsUsDi/wknEs8= Received: by cvs.NetBSD.org (Postfix, from userid 500) id 704A0FA27; Wed, 28 Feb 2024 11:13:18 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1709118798229340" MIME-Version: 1.0 Date: Wed, 28 Feb 2024 11:13:18 +0000 From: "Jonathan Perkin" Subject: CVS commit: pkgsrc/x11/kitemviews To: pkgsrc-changes@NetBSD.org Reply-To: jperkin@netbsd.org X-Mailer: log_accum Message-Id: <20240228111318.704A0FA27@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1709118798229340 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: jperkin Date: Wed Feb 28 11:13:18 UTC 2024 Modified Files: pkgsrc/x11/kitemviews: distinfo Added Files: pkgsrc/x11/kitemviews/patches: patch-src_kcategorydrawer.cpp Log Message: kitemviews: Avoid ambiguous function call. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 pkgsrc/x11/kitemviews/distinfo cvs rdiff -u -r0 -r1.1 \ pkgsrc/x11/kitemviews/patches/patch-src_kcategorydrawer.cpp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1709118798229340 Content-Disposition: inline Content-Length: 1913 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/x11/kitemviews/distinfo diff -u pkgsrc/x11/kitemviews/distinfo:1.17 pkgsrc/x11/kitemviews/distinfo:1.18 --- pkgsrc/x11/kitemviews/distinfo:1.17 Tue Feb 6 10:46:34 2024 +++ pkgsrc/x11/kitemviews/distinfo Wed Feb 28 11:13:18 2024 @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.17 2024/02/06 10:46:34 markd Exp $ +$NetBSD: distinfo,v 1.18 2024/02/28 11:13:18 jperkin Exp $ BLAKE2s (kitemviews-5.114.0.tar.xz) = b1946404734b304ede97c9bbcb80bb8610c4cac75b686111230cd647a7b47b79 SHA512 (kitemviews-5.114.0.tar.xz) = f431e0db8a0245bea10f76583b259314b2378fa91a89072db516a50cd1835a4526df34f32a9ed2eef8453226f9205f8d96beefd8727ff648cee4379fd1bc54a5 Size (kitemviews-5.114.0.tar.xz) = 2264800 bytes +SHA1 (patch-src_kcategorydrawer.cpp) = 866d2f7de33e9495a43de26bdc6b8ad4ff2d9d17 Added files: Index: pkgsrc/x11/kitemviews/patches/patch-src_kcategorydrawer.cpp diff -u /dev/null pkgsrc/x11/kitemviews/patches/patch-src_kcategorydrawer.cpp:1.1 --- /dev/null Wed Feb 28 11:13:18 2024 +++ pkgsrc/x11/kitemviews/patches/patch-src_kcategorydrawer.cpp Wed Feb 28 11:13:18 2024 @@ -0,0 +1,15 @@ +$NetBSD: patch-src_kcategorydrawer.cpp,v 1.1 2024/02/28 11:13:18 jperkin Exp $ + +Avoid ambiguous function call. + +--- src/kcategorydrawer.cpp.orig 2024-02-28 10:28:36.635078552 +0000 ++++ src/kcategorydrawer.cpp +@@ -78,7 +78,7 @@ void KCategoryDrawer::drawCategory(const + QRect backgroundRect(option.rect); + backgroundRect.setLeft(fontMetrics.horizontalAdvance(category) + sidePadding * 2); + backgroundRect.setRight(backgroundRect.right() - sidePadding); +- backgroundRect.setTop(backgroundRect.top() + topPadding + ceil(fontMetrics.height() / 2)); ++ backgroundRect.setTop(backgroundRect.top() + topPadding + std::ceil(fontMetrics.height() / 2)); + backgroundRect.setHeight(1); + painter->save(); + painter->setBrush(backgroundColor); --_----------=_1709118798229340--