x11-terms/yeahconsole: fix -Wimplicit-int

Closes: https://bugs.gentoo.org/871516
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
David Seifert
2023-02-19 23:03:27 +01:00
parent bcf151bd9c
commit 0f0c8fd47e
2 changed files with 15 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
--- a/yeahconsole.c
+++ b/yeahconsole.c
@@ -340,7 +340,7 @@
XMapWindow(dpy, win);
}
-void init_xterm(move)
+void init_xterm(int move)
{
XEvent ev;
long dummy;

View File

@@ -19,7 +19,10 @@ DEPEND="
x11-base/xorg-proto"
BDEPEND="virtual/pkgconfig"
PATCHES=( "${FILESDIR}"/${P}-make.patch )
PATCHES=(
"${FILESDIR}"/${P}-make.patch
"${FILESDIR}"/${P}-C99-decls.patch
)
src_configure() {
tc-export CC PKG_CONFIG