diff --git a/games/maelstrom/Makefile b/games/maelstrom/Makefile index 507294e07e7..29c70aec025 100644 --- a/games/maelstrom/Makefile +++ b/games/maelstrom/Makefile @@ -2,7 +2,7 @@ COMMENT = asteroid-like game DISTNAME = Maelstrom-3.0.6 PKGNAME = ${DISTNAME:L} -REVISION = 4 +REVISION = 5 CATEGORIES = games x11 HOMEPAGE = http://www.devolution.com/~slouken/Maelstrom/ SITES = ${HOMEPAGE}/src/ diff --git a/games/maelstrom/patches/patch-Maelstrom-netd_c b/games/maelstrom/patches/patch-Maelstrom-netd_c index 6d581c73c0c..47840fc5b29 100644 --- a/games/maelstrom/patches/patch-Maelstrom-netd_c +++ b/games/maelstrom/patches/patch-Maelstrom-netd_c @@ -14,3 +14,12 @@ Index: Maelstrom-netd.c #include /* We wait in a loop for players to connect and tell us how many people +@@ -181,7 +183,7 @@ void I_Crashed(int sig) + exit(sig); + } + +-main(int argc, char *argv[]) ++int main(int argc, char *argv[]) + { + int netfd, i, slot; + struct sockaddr_in serv_addr;