From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-action/maelstrom/files/
Date: Fri, 14 Mar 2025 21:00:43 +0000 (UTC) [thread overview]
Message-ID: <1741985996.1e0f02adce6b6f0780d47ffc7d23b1b40a7b29fb.sam@gentoo> (raw)
commit: 1e0f02adce6b6f0780d47ffc7d23b1b40a7b29fb
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 14 20:59:19 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 14 20:59:56 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e0f02ad
games-action/maelstrom: fix 'main' patch
main has to return int and it's implied if not explicitly done; void main
is a constraint violation.
Signed-off-by: Sam James <sam <AT> gentoo.org>
games-action/maelstrom/files/maelstrom-3.0.6-fix_return_type.patch | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
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 4950b5b6d5e7..0b8063795326 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 <nuitari@nuitari.net>
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;
next reply other threads:[~2025-03-14 21:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-14 21:00 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-07-07 0:12 [gentoo-commits] repo/gentoo:master commit in: games-action/maelstrom/files/ Austin English
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1741985996.1e0f02adce6b6f0780d47ffc7d23b1b40a7b29fb.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox