diff --git a/games-action/maelstrom/files/maelstrom-3.0.6-fix_return_type.patch b/games-action/maelstrom/files/maelstrom-3.0.6-fix_return_type.patch index 4950b5b6d5e72..0b80637953262 100644 --- a/games-action/maelstrom/files/maelstrom-3.0.6-fix_return_type.patch +++ b/games-action/maelstrom/files/maelstrom-3.0.6-fix_return_type.patch @@ -1,8 +1,3 @@ -Adds void to main() - -Quick fix to the compile issue on main. There is no return statement, so return type is set to void. - -Signed-off-by: Stephane Bakhos https://bugs.gentoo.org/875431 --- a/Maelstrom-netd.c +++ b/Maelstrom-netd.c @@ -11,7 +6,7 @@ https://bugs.gentoo.org/875431 } -main(int argc, char *argv[]) -+void main(int argc, char *argv[]) ++int main(int argc, char *argv[]) { int netfd, i, slot; struct sockaddr_in serv_addr;