From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id 589F11582EF for ; Mon, 10 Feb 2025 08:57:11 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 4359834316C for ; Mon, 10 Feb 2025 08:57:11 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id E7F87110476; Mon, 10 Feb 2025 08:56:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 bobolink.gentoo.org (Postfix) with ESMTPS id DA7BD110477 for ; Mon, 10 Feb 2025 08:56:51 +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 75038343163 for ; Mon, 10 Feb 2025 08:56:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B5E3A2775 for ; Mon, 10 Feb 2025 08:56:48 +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: <1739177520.94ae89d1b044c24138d5c8903df68e9654a5462f.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/trayer-srg/files/, x11-misc/trayer-srg/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/trayer-srg/files/trayer-srg-1.1.8-fix-define.patch x11-misc/trayer-srg/trayer-srg-1.1.8-r1.ebuild x11-misc/trayer-srg/trayer-srg-1.1.8-r2.ebuild X-VCS-Directories: x11-misc/trayer-srg/ x11-misc/trayer-srg/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 94ae89d1b044c24138d5c8903df68e9654a5462f X-VCS-Branch: master Date: Mon, 10 Feb 2025 08:56:48 +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: 1fbe923e-a557-4825-bfe1-c4681f065f41 X-Archives-Hash: 1120f1b93bdeb72b59ea3840752b8c52 commit: 94ae89d1b044c24138d5c8903df68e9654a5462f Author: NHOrus yahoo com> AuthorDate: Fri Jan 31 08:08:40 2025 +0000 Commit: Sam James gentoo org> CommitDate: Mon Feb 10 08:52:00 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94ae89d1 x11-misc/trayer-srg: fix build with modern C Missing argument in function declaration in header. Drops old, unpatched revision. Closes: https://bugs.gentoo.org/944020 Signed-off-by: NHOrus yahoo.com> Closes: https://github.com/gentoo/gentoo/pull/40394 Signed-off-by: Sam James gentoo.org> .../files/trayer-srg-1.1.8-fix-define.patch | 13 ++++++++ x11-misc/trayer-srg/trayer-srg-1.1.8-r1.ebuild | 38 ---------------------- x11-misc/trayer-srg/trayer-srg-1.1.8-r2.ebuild | 7 ++-- 3 files changed, 18 insertions(+), 40 deletions(-) diff --git a/x11-misc/trayer-srg/files/trayer-srg-1.1.8-fix-define.patch b/x11-misc/trayer-srg/files/trayer-srg-1.1.8-fix-define.patch new file mode 100644 index 000000000000..a58b4e9acc52 --- /dev/null +++ b/x11-misc/trayer-srg/files/trayer-srg-1.1.8-fix-define.patch @@ -0,0 +1,13 @@ +Add missing argument in function declaration, C23 +https://bugs.gentoo.org/944020 +--- a/bg.h ++++ b/bg.h +@@ -9,7 +9,7 @@ + #include + #include + +-void bg_init(); ++void bg_init(Display *dpyn); + void bg_rootbg_changed(); + GdkPixmap *bg_new_for_win(Window win); + void modify_drawable(GdkDrawable *base, GdkGC *gc, guint32 tintcolor, gint alpha); diff --git a/x11-misc/trayer-srg/trayer-srg-1.1.8-r1.ebuild b/x11-misc/trayer-srg/trayer-srg-1.1.8-r1.ebuild deleted file mode 100644 index 857f7def615b..000000000000 --- a/x11-misc/trayer-srg/trayer-srg-1.1.8-r1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs - -DESCRIPTION="trayer fork with multi monitor support and cleaned up codebase" -HOMEPAGE="https://github.com/sargon/trayer-srg" -SRC_URI="https://github.com/sargon/${PN}/archive/${P/-srg/}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT GPL-2+" -SLOT="0" -KEYWORDS="amd64 x86" - -RDEPEND=" - x11-libs/gdk-pixbuf:2 - dev-libs/glib:2 - x11-libs/gtk+:2 - x11-libs/libX11 -" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -S="${WORKDIR}"/${PN}-trayer-${PV} - -src_configure() { - ./configure --prefix="${EPREFIX}" || die -} - -src_compile() { - emake TARGET=${PN} CC="$(tc-getCC)" -} - -src_install() { - dobin ${PN} - einstalldocs -} diff --git a/x11-misc/trayer-srg/trayer-srg-1.1.8-r2.ebuild b/x11-misc/trayer-srg/trayer-srg-1.1.8-r2.ebuild index 2676ed677f88..a7d74142df61 100644 --- a/x11-misc/trayer-srg/trayer-srg-1.1.8-r2.ebuild +++ b/x11-misc/trayer-srg/trayer-srg-1.1.8-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -23,7 +23,10 @@ RDEPEND=" DEPEND="${RDEPEND}" BDEPEND="virtual/pkgconfig" -PATCHES=( "${FILESDIR}/${P}-avoid-prestripping-of-files.patch" ) +PATCHES=( + "${FILESDIR}/${P}-avoid-prestripping-of-files.patch" + "${FILESDIR}/${P}-fix-define.patch" + ) src_configure() { ./configure --prefix="${EPREFIX}" || die