mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 20:43:09 -04:00
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:
@@ -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)
|
||||||
@@ -27,6 +27,10 @@ RDEPEND="
|
|||||||
"
|
"
|
||||||
DEPEND="${RDEPEND}"
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${PN}-1.4.3-fwd-declare-app_parse_args.patch
|
||||||
|
)
|
||||||
|
|
||||||
src_prepare () {
|
src_prepare () {
|
||||||
cmake_src_prepare
|
cmake_src_prepare
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user