commit:     386af8830065bef43155045cc7d3356ff21a0900
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Thu Nov  7 08:40:30 2024 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Fri Nov  8 05:08:58 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=386af883

x11-plugins/wmbatteries: fix modern C porting in configure

Regenerate the configure script to take advantage of updates to core
autoconf macros so that system probes function correctly.

The software doesn't actually build with Modern C. That is tracked by a
different bug. It's an open question whether this package makes sense to
package anyway -- especially given it is only even *keyworded* for
x86...

Closes: https://bugs.gentoo.org/942786
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 x11-plugins/wmbatteries/wmbatteries-0.1.3-r1.ebuild | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/x11-plugins/wmbatteries/wmbatteries-0.1.3-r1.ebuild 
b/x11-plugins/wmbatteries/wmbatteries-0.1.3-r1.ebuild
index fe71b8cc9c04..d7e36b7ce091 100644
--- a/x11-plugins/wmbatteries/wmbatteries-0.1.3-r1.ebuild
+++ b/x11-plugins/wmbatteries/wmbatteries-0.1.3-r1.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=7
 
+inherit autotools
+
 DESCRIPTION="Dock app for monitoring the current battery status and CPU 
temperature"
 HOMEPAGE="https://sourceforge.net/projects/wmbatteries";
 SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.bz2";
@@ -19,3 +21,8 @@ DEPEND="${RDEPEND}
        x11-base/xorg-proto"
 
 DOCS=( AUTHORS THANKS README example/wmbatteriesrc )
+
+src_prepare() {
+       default
+       eautoreconf
+}

Reply via email to