From owner-svn-ports-all@FreeBSD.ORG Sun Jan 19 19:59:10 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DDE49B8D; Sun, 19 Jan 2014 19:59:10 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B06E21829; Sun, 19 Jan 2014 19:59:10 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0JJxAnh073736; Sun, 19 Jan 2014 19:59:10 GMT (envelope-from nemysis@svn.freebsd.org) Received: (from nemysis@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0JJxA2e073731; Sun, 19 Jan 2014 19:59:10 GMT (envelope-from nemysis@svn.freebsd.org) Message-Id: <201401191959.s0JJxA2e073731@svn.freebsd.org> From: Rusmir Dusko Date: Sun, 19 Jan 2014 19:59:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r340346 - in head/games/3dpong: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jan 2014 19:59:10 -0000 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 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 # $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 + #include "text.h" ++#include ++#include + + int FontHeight(XFontStruct *font_struct) + {