svn commit: r364548 - in head/games/xpacman: . files
Wen Heping
wen at FreeBSD.org
Sun Aug 10 15:02:21 UTC 2014
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 <wulf at cicgroup.ru>
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 at 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 <bsd.port.mk>
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"*/
More information about the svn-ports-all
mailing list