x11-misc/gromit-mpx: Fix implicit function declaration.

This fixes compilation with -Werror,-Wimplicit-function-declaration.

Closes: https://bugs.gentoo.org/888149
Signed-off-by: Oliver Freyermuth <o.freyermuth@googlemail.com>
This commit is contained in:
Oliver Freyermuth
2022-12-24 22:24:04 +01:00
parent c9cf86438b
commit 2f60169115
2 changed files with 20 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
Fixes compilation with -Werror,-Wimplicit-function-declaration.
Bug: https://bugs.gentoo.org/888149
Bug: https://github.com/bk138/gromit-mpx/pull/173
--- gromit-mpx-1.4.3/src/gromit-mpx.c 2022-09-25 14:43:43.000000000 +0200
+++ gromit-mpx-1.4.3/src/gromit-mpx.c 2022-12-24 18:32:23.629233288 +0100
@@ -696,7 +696,7 @@
}
-
+int app_parse_args (int argc, char **argv, GromitData *data);
void setup_main_app (GromitData *data, int argc, char ** argv)

View File

@@ -27,6 +27,10 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}"/${PN}-1.4.3-fwd-declare-app_parse_args.patch
)
src_prepare () {
cmake_src_prepare
}