summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
+}