x11-plugins/wmdiskmon: update EAPI 7 -> 8, fix build

Add missing include, eautoreconf to fix configure

Closes: https://bugs.gentoo.org/878641
Closes: https://bugs.gentoo.org/908911
Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
Closes: https://github.com/gentoo/gentoo/pull/41363
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
This commit is contained in:
NHOrus 2025-03-29 11:15:57 +03:00 committed by Bernard Cafarelli
parent 99f7d9903e
commit 0f1e56d099
No known key found for this signature in database
GPG Key ID: 00F7AB331B0F097F
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,12 @@
Add missing include
https://bugs.gentoo.org/878641
--- a/src/main.c
+++ b/src/main.c
@@ -25,6 +25,7 @@
#include "config.h"
#endif
+#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

View File

@ -0,0 +1,30 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="a dockapp to display disk space usage"
HOMEPAGE="http://tnemeth.free.fr/projets/dockapps.html"
SRC_URI="http://tnemeth.free.fr/projets/programmes/${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
x11-libs/libXt"
PATCHES=( "${FILESDIR}/${P}-include.patch" )
src_prepare() {
default
# https://bugs.gentoo.org/908911
eautoreconf
}