From owner-svn-ports-all@FreeBSD.ORG Sun Aug 10 15:02:21 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 533F5DB5 for ; Sun, 10 Aug 2014 15:02:21 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 337D82C64 for ; Sun, 10 Aug 2014 15:02:21 +0000 (UTC) Received: from wen (uid 1209) (envelope-from wen@FreeBSD.org) id 2a4f by svn.freebsd.org (DragonFly Mail Agent v0.9+); Sun, 10 Aug 2014 15:02:20 +0000 From: Wen Heping Date: Sun, 10 Aug 2014 15:02:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r364548 - in head/games/xpacman: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-Id: <53e7897c.2a4f.4cf79054@svn.freebsd.org> X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 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, 10 Aug 2014 15:02:21 -0000 Author: wen Date: Sun Aug 10 15:02:19 2014 New Revision: 364548 URL: http://svnweb.freebsd.org/changeset/ports/364548 QAT: https://qat.redports.org/buildarchive/r364548/ Log: - Update to 1.002 - Stage support - Fix build with clang PR: 192546 Submitted by: Vladimir Kondratiev Added: head/games/xpacman/files/patch-pac.cc (contents, props changed) head/games/xpacman/files/patch-sizes.h (contents, props changed) Deleted: head/games/xpacman/files/patch-a Modified: head/games/xpacman/Makefile head/games/xpacman/distinfo head/games/xpacman/files/patch-board.cc head/games/xpacman/files/patch-f Modified: head/games/xpacman/Makefile ============================================================================== --- head/games/xpacman/Makefile Sun Aug 10 14:47:12 2014 (r364547) +++ head/games/xpacman/Makefile Sun Aug 10 15:02:19 2014 (r364548) @@ -2,20 +2,23 @@ # $FreeBSD$ PORTNAME= xpacman -PORTVERSION= 1.0 -PORTREVISION= 3 +PORTVERSION= 1.002 CATEGORIES= games MASTER_SITES= ftp://ftp.nvg.unit.no/pub/pacman/ -DISTNAME= pacman10 +DISTNAME= pacman-1_002 MAINTAINER= ports@FreeBSD.org COMMENT= Old action game -NO_WRKSUBDIR= Does not unpack into subdir. -USES= imake zip +LICENSE= GPLv2 + +RUN_DEPENDS+= ${LOCALBASE}/lib/X11/fonts/misc/9x18.pcf.gz:${PORTSDIR}/x11-fonts/font-misc-misc + +GNU_CONFIGURE= yes +CONFIGURE_ARGS+=--enable-doublesize +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib USE_XORG= x11 xext -MAN1= pacman.1 PLIST_FILES= bin/pacman -NO_STAGE= yes .include Modified: head/games/xpacman/distinfo ============================================================================== --- head/games/xpacman/distinfo Sun Aug 10 14:47:12 2014 (r364547) +++ head/games/xpacman/distinfo Sun Aug 10 15:02:19 2014 (r364548) @@ -1,2 +1,2 @@ -SHA256 (pacman10.zip) = 6614635a5fbc3455772e62f4719ea3de5daad56ae2cbcb1564d57246d58c4cfd -SIZE (pacman10.zip) = 64523 +SHA256 (pacman-1_002.tar.gz) = c033268ab520937c867a8ff6f989a4dbe5d4bd38c23191db29ec39d8e807d622 +SIZE (pacman-1_002.tar.gz) = 86822 Modified: head/games/xpacman/files/patch-board.cc ============================================================================== --- head/games/xpacman/files/patch-board.cc Sun Aug 10 14:47:12 2014 (r364547) +++ head/games/xpacman/files/patch-board.cc Sun Aug 10 15:02:19 2014 (r364548) @@ -1,15 +1,6 @@ --- board.cc.orig Tue Jul 18 11:03:22 1995 +++ board.cc Mon Mar 10 20:52:04 2008 -@@ -119,7 +119,7 @@ - oldtemp=oldlist; - while (oldtemp) { //delete elements in the now previous sprite list - oldnext=oldtemp->next; -- delete oldnext; -+ delete oldtemp; - oldtemp=oldnext; - } - if (zero && oldlist) { //personal thingie used for debug, not useful -@@ -157,6 +157,7 @@ +@@ -527,6 +527,7 @@ void Board::sprite(DynamicElement *g) { //let dynamicelement be a sprite liststruct *temp=0,*last=0; //resets to null liststruct *ny=new liststruct; //get a new liststruct Modified: head/games/xpacman/files/patch-f ============================================================================== --- head/games/xpacman/files/patch-f Sun Aug 10 14:47:12 2014 (r364547) +++ head/games/xpacman/files/patch-f Sun Aug 10 15:02:19 2014 (r364548) @@ -2,9 +2,10 @@ +++ point.cc Sun Jan 9 01:51:34 2000 @@ -1,7 +1,7 @@ #include"point.h" - Point::Point(int xx=0,int yy=0) { x=xx; y=yy; }; +-Point::Point(int xx=0,int yy=0) { x=xx; y=yy; }; -Point::val_x() { return x; }; -Point::val_y() { return y; }; ++Point::Point(int xx,int yy) { x=xx; y=yy; }; +int Point::val_x() { return x; }; +int Point::val_y() { return y; }; void Point::set_x(int xx) { x=xx; }; Added: head/games/xpacman/files/patch-pac.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/xpacman/files/patch-pac.cc Sun Aug 10 15:02:19 2014 (r364548) @@ -0,0 +1,11 @@ +--- pac.cc.orig 1995-07-20 16:59:35.000000000 +0400 ++++ pac.cc 2014-08-09 11:48:00.762643451 +0400 +@@ -82,7 +82,7 @@ + UserInterface::setlpCmdLine(lpCmdLine); + UserInterface::setnCmdShow(nCmdShow); + #else +-main(int argc,char **argv) { ++int main(int argc,char **argv) { + Argument(argc, argv); // storing the command line arguments + #endif + Added: head/games/xpacman/files/patch-sizes.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/xpacman/files/patch-sizes.h Sun Aug 10 15:02:19 2014 (r364548) @@ -0,0 +1,17 @@ +--- sizes.h.orig 1995-07-13 16:14:05.000000000 +0400 ++++ sizes.h 2014-08-09 11:16:01.638794330 +0400 +@@ -21,12 +21,12 @@ + #ifndef DOUBLE + #define TEXTWIDTH 8 + #define TEXTHEIGHT 8 +-#define FONT1 "5x8" ++#define FONT1 "-misc-fixed-*-r-*-*-8-*-*-*-*-*-*-*" + #define FONT2 "5x7" + #else + #define TEXTWIDTH 8 + #define TEXTHEIGHT 16 +-#define FONT1 "8x16" ++#define FONT1 "-misc-fixed-*-r-*-*-18-*-*-*-*-*-*-*" + #define FONT2 "7x14" + #endif + //#define PFONT "clR6x8.fb"/*clR8x8" "6x10"*/