commit:     0f1e56d099ba657ac03a715972ebfd0b799bd056
Author:     NHOrus <jy6x2b32pie9 <AT> yahoo <DOT> com>
AuthorDate: Sat Mar 29 08:15:57 2025 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Mon Mar 31 06:44:20 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f1e56d0

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 <AT> yahoo.com>
Closes: https://github.com/gentoo/gentoo/pull/41363
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>

 .../wmdiskmon/files/wmdiskmon-0.0.2-include.patch  | 12 +++++++++
 x11-plugins/wmdiskmon/wmdiskmon-0.0.2-r2.ebuild    | 30 ++++++++++++++++++++++
 2 files changed, 42 insertions(+)

diff --git a/x11-plugins/wmdiskmon/files/wmdiskmon-0.0.2-include.patch 
b/x11-plugins/wmdiskmon/files/wmdiskmon-0.0.2-include.patch
new file mode 100644
index 000000000000..5c689cd41d7b
--- /dev/null
+++ b/x11-plugins/wmdiskmon/files/wmdiskmon-0.0.2-include.patch
@@ -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>

diff --git a/x11-plugins/wmdiskmon/wmdiskmon-0.0.2-r2.ebuild 
b/x11-plugins/wmdiskmon/wmdiskmon-0.0.2-r2.ebuild
new file mode 100644
index 000000000000..47941d1996f6
--- /dev/null
+++ b/x11-plugins/wmdiskmon/wmdiskmon-0.0.2-r2.ebuild
@@ -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
+}

Reply via email to