summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNHOrus <jy6x2b32pie9@yahoo.com>2025-03-29 11:15:57 +0300
committerBernard Cafarelli <voyageur@gentoo.org>2025-03-31 08:44:20 +0200
commit0f1e56d099ba657ac03a715972ebfd0b799bd056 (patch)
treefb72a9b1f25bb5315bb307eccbbb246b749d9cf6
parent99f7d9903e4a2f412dc4f4df3aabe1945a73bb90 (diff)
downloadgentoo-0f1e56d099ba657ac03a715972ebfd0b799bd056.tar.gz
gentoo-0f1e56d099ba657ac03a715972ebfd0b799bd056.tar.bz2
gentoo-0f1e56d099ba657ac03a715972ebfd0b799bd056.zip
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>
-rw-r--r--x11-plugins/wmdiskmon/files/wmdiskmon-0.0.2-include.patch12
-rw-r--r--x11-plugins/wmdiskmon/wmdiskmon-0.0.2-r2.ebuild30
2 files changed, 42 insertions, 0 deletions
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
+}