Index: head/games/maelstrom/Makefile =================================================================== --- head/games/maelstrom/Makefile (revision 475491) +++ head/games/maelstrom/Makefile (revision 475492) @@ -1,45 +1,46 @@ # Created by: Andrey Zakhvatov # $FreeBSD$ PORTNAME= maelstrom PORTVERSION= 3.0.6 -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= games MASTER_SITES= http://slouken.libsdl.org/projects/Maelstrom/src/ \ SF/nemysisfreebsdp/${CATEGORIES}/:icons DISTNAME= Maelstrom-${PORTVERSION} DISTFILES= Maelstrom-${DISTVERSION}${EXTRACT_SUFX} \ ${PORTNAME}.png:icons DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= Maelstrom-${DISTVERSION}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= Asteroids-style game for X Window System LICENSE= GPLv2 +USE_CXXSTD= gnu++98 USE_SDL= sdl net USE_XORG= xpm GNU_CONFIGURE= yes DATADIR= ${PREFIX}/share/Maelstrom DOCSDIR= ${PREFIX}/share/doc/Maelstrom PORTDOCS= * OPTIONS_DEFINE= DOCS DOCS_INSTALL_TARGET=install install_gamedocs DESKTOP_ENTRIES="Maelstrom" "" ${PORTNAME} \ "Maelstrom" "Game;ArcadeGame;" "" post-patch: @${REINPLACE_CMD} -e 's|@prefix@|$${DESTDIR}@prefix@|; \ s|$$(DESTDIR)$$(bindir)|$$(bindir)|' \ ${WRKSRC}/Makefile.in post-install: ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/ .include Index: head/games/maelstrom/files/patch-Maelstrom-netd.c =================================================================== --- head/games/maelstrom/files/patch-Maelstrom-netd.c (nonexistent) +++ head/games/maelstrom/files/patch-Maelstrom-netd.c (revision 475492) @@ -0,0 +1,22 @@ +Maelstrom-netd.c:48:10: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] + (void) free(players[which].packet); + ^ +Maelstrom-netd.c:62:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] + exit(3); + ^ +Maelstrom-netd.c:62:3: note: include the header or explicitly provide a declaration for 'exit' +Maelstrom-netd.c:157:24: warning: implicit declaration of function 'inet_ntoa' is invalid in C99 [-Wimplicit-function-declaration] + strcpy(ptr, (char *)inet_ntoa(player->raddr.sin_addr)); + ^ + +--- Maelstrom-netd.c.orig 2018-07-28 05:49:43 UTC ++++ Maelstrom-netd.c +@@ -9,6 +9,8 @@ + #include + #include + #include ++#include ++#include + #include + #include + Property changes on: head/games/maelstrom/files/patch-Maelstrom-netd.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property