commit: c57c9878a2102206ac7f3997a991ee36af62079a Author: NHOrus <jy6x2b32pie9 <AT> yahoo <DOT> com> AuthorDate: Wed Jan 15 18:41:45 2025 +0000 Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> CommitDate: Fri Jan 17 19:55:39 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c57c9878
x11-plugins/wminet: update EAPI 7 -> 8, fix C23 errors Both in configure and previously unreported in code Closes: https://bugs.gentoo.org/908912 Closes: https://bugs.gentoo.org/875137 Signed-off-by: NHOrus <jy6x2b32pie9 <AT> yahoo.com> Closes: https://github.com/gentoo/gentoo/pull/40150 Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org> .../files/wminet-3.0.0-missing-include.patch | 11 ++++++ x11-plugins/wminet/wminet-3.0.0-r3.ebuild | 41 ++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/x11-plugins/wminet/files/wminet-3.0.0-missing-include.patch b/x11-plugins/wminet/files/wminet-3.0.0-missing-include.patch new file mode 100644 index 000000000000..1857a8feb3ea --- /dev/null +++ b/x11-plugins/wminet/files/wminet-3.0.0-missing-include.patch @@ -0,0 +1,11 @@ +for toupper(), implicit function declaration +--- a/src/wminet.c ++++ b/src/wminet.c +@@ -20,6 +20,7 @@ + + #include <stdio.h> + #include <stdlib.h> ++#include <ctype.h> + #include <unistd.h> + #include <string.h> + #include <signal.h> diff --git a/x11-plugins/wminet/wminet-3.0.0-r3.ebuild b/x11-plugins/wminet/wminet-3.0.0-r3.ebuild new file mode 100644 index 000000000000..87c681b7942f --- /dev/null +++ b/x11-plugins/wminet/wminet-3.0.0-r3.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs autotools + +DESCRIPTION="dockapp for monitoring internet connections to and from your computer" +HOMEPAGE="https://www.improbability.net/#wminet" +SRC_URI="https://www.improbability.net/wmdock//${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-base/xorg-proto" + +PATCHES=( + "${FILESDIR}"/${P}-list.patch + "${FILESDIR}"/${P}-fno-common.patch + "${FILESDIR}"/${P}-missing-include.patch + ) + +DOCS=( AUTHORS ChangeLog NEWS README wminetrc ) + +src_prepare() { + default + + # bug https://bugs.gentoo.org/875137 + # bug https://bugs.gentoo.org/908912 + eautoreconf +} + +src_compile() { + tc-export CC + emake LDFLAGS="${LDFLAGS}" +}
