From owner-svn-ports-head@FreeBSD.ORG Mon Feb 4 14:26:54 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2A821566; Mon, 4 Feb 2013 14:26:54 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 0C7EB1E87; Mon, 4 Feb 2013 14:26:54 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r14EQrfG063833; Mon, 4 Feb 2013 14:26:53 GMT (envelope-from miwi@svn.freebsd.org) Received: (from miwi@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r14EQqmg063816; Mon, 4 Feb 2013 14:26:52 GMT (envelope-from miwi@svn.freebsd.org) Message-Id: <201302041426.r14EQqmg063816@svn.freebsd.org> From: Martin Wilke Date: Mon, 4 Feb 2013 14:26:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r311619 - in head/games/xataxx: . 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-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Feb 2013 14:26:54 -0000 Author: miwi Date: Mon Feb 4 14:26:51 2013 New Revision: 311619 URL: http://svnweb.freebsd.org/changeset/ports/311619 Log: - Update MASTER_SITES - Fix build with clang - Add MAKE_JOBS_SAFE - Reformat pkg-descr PR: 175592 Submitted by: Ports Fury Added: head/games/xataxx/files/patch-bits.c (contents, props changed) head/games/xataxx/files/patch-board.c (contents, props changed) head/games/xataxx/files/patch-demo.c (contents, props changed) head/games/xataxx/files/patch-display.c (contents, props changed) head/games/xataxx/files/patch-main.c (contents, props changed) head/games/xataxx/files/patch-nubot.c (contents, props changed) head/games/xataxx/files/patch-parse.c (contents, props changed) head/games/xataxx/files/patch-zot.c (contents, props changed) Deleted: head/games/xataxx/files/patch-ab Modified: head/games/xataxx/Makefile (contents, props changed) head/games/xataxx/pkg-descr (contents, props changed) Modified: head/games/xataxx/Makefile ============================================================================== --- head/games/xataxx/Makefile Mon Feb 4 14:25:07 2013 (r311618) +++ head/games/xataxx/Makefile Mon Feb 4 14:26:51 2013 (r311619) @@ -1,30 +1,33 @@ -# New ports collection makefile for: xataxx -# Date created: 4 July 1998 -# Whom: Andrey Zakhvatov -# +# Created by: Andrey Zakhvatov # $FreeBSD$ -# PORTNAME= xataxx PORTVERSION= 1.0 PORTREVISION= 2 CATEGORIES= games -MASTER_SITES= ftp://ftp.x.org/R5contrib/ +MASTER_SITES= XCONTRIB/../R5contrib DISTNAME= ${PORTNAME} EXTRACT_SUFX= .tar.Z MAINTAINER= ports@FreeBSD.org COMMENT= Strategy game of position and movement for X Window System -USE_IMAKE= yes +OPTIONS_DEFINE= DOCS + USE_XORG= x11 xext +USE_IMAKE= yes +MAKE_JOBS_SAFE= yes + MAN6= xataxx.6 +.include + post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${PREFIX}/share/doc/xataxx - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xataxx - ${INSTALL_DATA} ${WRKSRC}/TODO ${PREFIX}/share/doc/xataxx +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} +.for i in README TODO + (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${DOCSDIR}) +.endfor .endif .include Added: head/games/xataxx/files/patch-bits.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/xataxx/files/patch-bits.c Mon Feb 4 14:26:51 2013 (r311619) @@ -0,0 +1,22 @@ +--- bits.c.orig ++++ bits.c +@@ -1,7 +1,10 @@ + #include ++#include + #include + #include ++#include + #include ++#include + #include + #include + #include "struct.h" +@@ -16,7 +19,7 @@ + #define NFDSHIFT 5 /* Shift based on above */ + #ifndef howmany + #define howmany(x, y) (((x)+((y)-1))/(y)) +-#endif howmany ++#endif + + #define NBBY 8 /* number of bits in a byte */ + Added: head/games/xataxx/files/patch-board.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/xataxx/files/patch-board.c Mon Feb 4 14:26:51 2013 (r311619) @@ -0,0 +1,16 @@ +--- board.c.orig ++++ board.c +@@ -1,3 +1,4 @@ ++#include + #include + #include "struct.h" + +@@ -461,7 +462,7 @@ + } + } + if (best_count==-1) +- return; ++ return(0); + move_piece(best.ox,best.oy,best.nx,best.ny,player); + } + Added: head/games/xataxx/files/patch-demo.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/xataxx/files/patch-demo.c Mon Feb 4 14:26:51 2013 (r311619) @@ -0,0 +1,8 @@ +--- demo.c.orig ++++ demo.c +@@ -1,4 +1,5 @@ + #include ++#include + #include + #include "struct.h" + Added: head/games/xataxx/files/patch-display.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/xataxx/files/patch-display.c Mon Feb 4 14:26:51 2013 (r311619) @@ -0,0 +1,27 @@ +--- display.c.orig ++++ display.c +@@ -1,4 +1,6 @@ + #include ++#include ++#include + #include + #include + #include +@@ -145,7 +147,7 @@ + int occ,x,y; + + if (currdpy != dpy && !botmode) +- return; ++ return(0); + wipemap(currdpy, currbamp, currgc, currscr, currwin); + for (y=0;y!=ysize;y++) + for (x=0;x!=xsize;x++) +@@ -386,7 +388,7 @@ + XFlush(currdpy); + } + XNextEvent(dpy,&event); +- return; ++ return(0); + } + } + Added: head/games/xataxx/files/patch-main.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/xataxx/files/patch-main.c Mon Feb 4 14:26:51 2013 (r311619) @@ -0,0 +1,19 @@ +--- main.c.orig ++++ main.c +@@ -1,4 +1,7 @@ + #include ++#include ++#include ++#include + #include + #include + #include "struct.h" +@@ -160,7 +163,7 @@ + int x; + { + int z1, z2, z3, z4, z=0; +- char nn[6]; ++ static char nn[6]; + + z1 = (int) (x)/1000; + z2 = (int) (x)/100-(10*z1); Added: head/games/xataxx/files/patch-nubot.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/xataxx/files/patch-nubot.c Mon Feb 4 14:26:51 2013 (r311619) @@ -0,0 +1,27 @@ +--- nubot.c.orig ++++ nubot.c +@@ -1,4 +1,6 @@ + #include ++#include ++#include + #include + #include "struct.h" + +@@ -172,7 +174,7 @@ + + list_moves(player, board, movel); + +- if (movel[0].ox==(-1)) return; /* there are no legal moves */ ++ if (movel[0].ox==(-1)) return(0); /* there are no legal moves */ + + if (botlevel==0) { + for (ix=0; movel[ix].ox!=(-1); ix++); +@@ -180,7 +182,7 @@ + best = &(movel[ix]); + + move_piece(best->ox,best->oy,best->nx,best->ny,player); +- return; ++ return(0); + }; + + for (ix=0; movel[ix].ox!=(-1); ix++) { Added: head/games/xataxx/files/patch-parse.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/xataxx/files/patch-parse.c Mon Feb 4 14:26:51 2013 (r311619) @@ -0,0 +1,9 @@ +--- parse.c.orig ++++ parse.c +@@ -1,4 +1,6 @@ + #include ++#include ++#include + #include + #include "struct.h" + Added: head/games/xataxx/files/patch-zot.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/xataxx/files/patch-zot.c Mon Feb 4 14:26:51 2013 (r311619) @@ -0,0 +1,11 @@ +--- zot.c.orig ++++ zot.c +@@ -23,7 +23,7 @@ + GC bgc; + + if (!wflump) +- return; ++ return(0); + zot(dx, dy, cmaps, cdpy, cscr, cgc, cwin, cmap); + } + Modified: head/games/xataxx/pkg-descr ============================================================================== --- head/games/xataxx/pkg-descr Mon Feb 4 14:25:07 2013 (r311618) +++ head/games/xataxx/pkg-descr Mon Feb 4 14:26:51 2013 (r311619) @@ -1,4 +1,3 @@ -XAtaxx is a strategy game based on Ataxx, a popular arcade -video game. It is a game of position and movement. The -object is to have the most pieces of your color on the -board at the end of the game. +XAtaxx is a strategy game based on Ataxx, a popular arcade video game. +It is a game of position and movement. The object is to have the most +pieces of your color on the board at the end of the game.