Date: Sun, 19 Jan 2014 19:59:10 +0000 (UTC) From: Rusmir Dusko <nemysis@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r340346 - in head/games/3dpong: . files Message-ID: <201401191959.s0JJxA2e073731@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: nemysis Date: Sun Jan 19 19:59:10 2014 New Revision: 340346 URL: http://svnweb.freebsd.org/changeset/ports/340346 QAT: https://qat.redports.org/buildarchive/r340346/ Log: - Change Makefile header - Add USE_CSTD=gnu89 - Change Desktop entry file - Break lines around 80 characters - Add patch, fix bad C++ code PR: ports/185756 Submitted by: Hardy Schumacher <hardy.schumacher@gmx.de> Added: head/games/3dpong/files/ head/games/3dpong/files/patch-src__text.c (contents, props changed) Modified: head/games/3dpong/Makefile Modified: head/games/3dpong/Makefile ============================================================================== --- head/games/3dpong/Makefile Sun Jan 19 19:48:41 2014 (r340345) +++ head/games/3dpong/Makefile Sun Jan 19 19:59:10 2014 (r340346) @@ -1,3 +1,4 @@ +# Created by: Andrey Zakhvatov <andy@icc.surw.chel.su> # $FreeBSD$ PORTNAME= 3dpong @@ -21,25 +22,29 @@ USES= gmake USE_XORG= x11 MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \ XLIB="-L${LOCALBASE}/lib -lX11" +USE_CSTD= gnu89 PORTDOCS= AUTHORS.txt CHANGES.txt README.txt TODO.txt PORTEXAMPLES= * -DESKTOP_ENTRIES="3D Pong" "${COMMENT}" "${PORTNAME}" \ - "${PORTNAME}" "Game;ArcadeGame;" false - OPTIONS_DEFINE= DOCS EXAMPLES +DESKTOP_ENTRIES="3D Pong" "" "${PORTNAME}" \ + "${PORTNAME}" "Game;ArcadeGame;" "" + post-patch: - @${REINPLACE_CMD} -e 's|cat sounds/|cat ${DATADIR}/|g' ${WRKSRC}/src/3dpong.c + @${REINPLACE_CMD} -e 's|cat sounds/|cat ${DATADIR}/|g' \ + ${WRKSRC}/src/3dpong.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/sounds/*.au ${STAGEDIR}${DATADIR} - ${INSTALL_MAN} ${WRKSRC}/src/${PORTNAME}.6 ${STAGEDIR}${MAN6PREFIX}/man/man6/ - ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps/ + ${INSTALL_MAN} ${WRKSRC}/src/${PORTNAME}.6 \ + ${STAGEDIR}${MAN6PREFIX}/man/man6/ + ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \ + ${STAGEDIR}${PREFIX}/share/pixmaps/ @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/docs/|} ${STAGEDIR}${DOCSDIR} Added: head/games/3dpong/files/patch-src__text.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/3dpong/files/patch-src__text.c Sun Jan 19 19:59:10 2014 (r340346) @@ -0,0 +1,11 @@ +--- ./src/text.c.orig 1997-12-11 00:27:49.000000000 +0100 ++++ ./src/text.c 2014-01-19 19:19:52.000000000 +0100 +@@ -7,6 +7,8 @@ + + #include <X11/Xlib.h> + #include "text.h" ++#include <stdio.h> ++#include <string.h> + + int FontHeight(XFontStruct *font_struct) + {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401191959.s0JJxA2e073731>