mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
Fix implicit int error with ports-gcc since int is missing for main().
OK phessler@
This commit is contained in:
@@ -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/
|
||||
|
||||
@@ -14,3 +14,12 @@ Index: Maelstrom-netd.c
|
||||
#include <unistd.h>
|
||||
|
||||
/* 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;
|
||||
|
||||
Reference in New Issue
Block a user