From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 3B102158020 for ; Sun, 4 Dec 2022 23:58:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0285AE0798; Sun, 4 Dec 2022 23:58:04 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DC406E0798 for ; Sun, 4 Dec 2022 23:58:03 +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 ECE87341254 for ; Sun, 4 Dec 2022 23:58:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6E9D275 for ; Sun, 4 Dec 2022 23:58:01 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1670198176.19bc91aca1909164fe68851006b5b1631a6693cd.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-plugins/gkrellshoot/, x11-plugins/gkrellshoot/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-plugins/gkrellshoot/files/gkrellshoot-0.4.4-r5-fix-implicit-int.patch x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r5.ebuild X-VCS-Directories: x11-plugins/gkrellshoot/ x11-plugins/gkrellshoot/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 19bc91aca1909164fe68851006b5b1631a6693cd X-VCS-Branch: master Date: Sun, 4 Dec 2022 23:58:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 28181a21-b7ec-40cb-91c7-49374c99a65f X-Archives-Hash: 4550f0acb8ec657b8e59e4797c8bfef5 commit: 19bc91aca1909164fe68851006b5b1631a6693cd Author: Pascal Jäger leimstift de> AuthorDate: Wed Nov 30 20:18:03 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sun Dec 4 23:56:16 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19bc91ac x11-plugins/gkrellshoot: fix build for clang16 Closes: https://bugs.gentoo.org/874891 Signed-off-by: Pascal Jäger leimstift.de> Closes: https://github.com/gentoo/gentoo/pull/28486 Signed-off-by: Sam James gentoo.org> .../gkrellshoot-0.4.4-r5-fix-implicit-int.patch | 25 +++++++++++++++++ .../gkrellshoot/gkrellshoot-0.4.4-r5.ebuild | 32 ++++++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/x11-plugins/gkrellshoot/files/gkrellshoot-0.4.4-r5-fix-implicit-int.patch b/x11-plugins/gkrellshoot/files/gkrellshoot-0.4.4-r5-fix-implicit-int.patch new file mode 100644 index 000000000000..fae0a519ba05 --- /dev/null +++ b/x11-plugins/gkrellshoot/files/gkrellshoot-0.4.4-r5-fix-implicit-int.patch @@ -0,0 +1,25 @@ +By default clang16 will not allow implicit integer declarations in function parameters. + +Bug: https://bugs.gentoo.org/874891 + +Signed-off-by: Pascal Jäger +--- + gkrellshoot.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/gkrellshoot.c b/gkrellshoot.c +index 114a85e..0d74d1d 100755 +--- a/gkrellshoot.c ++++ b/gkrellshoot.c +@@ -436,7 +436,7 @@ double star_screenx[NUM_STARS]; + double star_screeny[NUM_STARS]; + + static void +-draw_starfield ( chart_index ) ++draw_starfield ( size_t chart_index ) + { + gint i; + guchar b; +-- +2.38.1 + diff --git a/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r5.ebuild b/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r5.ebuild new file mode 100644 index 000000000000..d452d63895c9 --- /dev/null +++ b/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r5.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit gkrellm-plugin toolchain-funcs + +DESCRIPTION="GKrellm2 plugin to take screen shots and lock screen" +HOMEPAGE="http://gkrellshoot.sourceforge.net/" +SRC_URI="mirror://sourceforge/gkrellshoot/${P}.tar.gz" +S="${WORKDIR}/${P/s/S}" + +LICENSE="GPL-2" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" + +DEPEND="app-admin/gkrellm:2[X]" +RDEPEND=" + ${DEPEND} + virtual/imagemagick-tools" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/makefile-respect-flags.patch + "${FILESDIR}/${P}"-r4-pkgconfig.patch + "${FILESDIR}/${P}"-r5-fix-implicit-int.patch +) + +src_compile() { + tc-export PKG_CONFIG + default +}