View | Details | Raw Unified | Return to bug 192546
Collapse All | Expand All

(-)games/xpacman/Makefile (-7 / +10 lines)
Lines 2-21 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	xpacman
4
PORTNAME=	xpacman
5
PORTVERSION=	1.0
5
PORTVERSION=	1.002
6
PORTREVISION=	3
7
CATEGORIES=	games
6
CATEGORIES=	games
8
MASTER_SITES=	ftp://ftp.nvg.unit.no/pub/pacman/
7
MASTER_SITES=	ftp://ftp.nvg.unit.no/pub/pacman/
9
DISTNAME=	pacman10
8
DISTNAME=	pacman-1_002
10
9
11
MAINTAINER=	ports@FreeBSD.org
10
MAINTAINER=	ports@FreeBSD.org
12
COMMENT=	Old action game
11
COMMENT=	Old action game
13
12
14
NO_WRKSUBDIR=	Does not unpack into subdir.
13
LICENSE=	GPLv2
15
USES=		imake zip
14
15
RUN_DEPENDS+=	${LOCALBASE}/lib/X11/fonts/misc/9x18.pcf.gz:${PORTSDIR}/x11-fonts/font-misc-misc
16
17
GNU_CONFIGURE=	yes
18
CONFIGURE_ARGS+=--enable-doublesize
19
CPPFLAGS+=	-I${LOCALBASE}/include
20
LDFLAGS+=	-L${LOCALBASE}/lib
16
USE_XORG=	x11 xext
21
USE_XORG=	x11 xext
17
MAN1=		pacman.1
18
PLIST_FILES=	bin/pacman
22
PLIST_FILES=	bin/pacman
19
23
20
NO_STAGE=	yes
21
.include <bsd.port.mk>
24
.include <bsd.port.mk>
(-)games/xpacman/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (pacman10.zip) = 6614635a5fbc3455772e62f4719ea3de5daad56ae2cbcb1564d57246d58c4cfd
1
SHA256 (pacman-1_002.tar.gz) = c033268ab520937c867a8ff6f989a4dbe5d4bd38c23191db29ec39d8e807d622
2
SIZE (pacman10.zip) = 64523
2
SIZE (pacman-1_002.tar.gz) = 86822
(-)games/xpacman/files/patch-a (-12 lines)
Lines 1-12 Link Here
1
--- Imakefile.orig	Sun Sep  8 13:55:25 2002
2
+++ Imakefile	Sun Sep  8 13:55:59 2002
3
@@ -23,7 +23,8 @@
4
 /* most X11 screens are rather large, you might wisht to use "double" mode */
5
 CXXEXTRA_DEFINES = -DDOUBLE
6
 
7
-NormalProgramTarget(pacman,$(OBJS),$(DEPXLIB),$(CURSES),$(XLIB))
8
+NormalCplusplusProgramTarget(pacman,$(OBJS),$(DEPXLIB),$(CURSES),$(XLIB))
9
 InstallProgram(pacman,$(BINDIR))
10
 InstallManPage(pacman,$(MANDIR))
11
+AllTarget(pacman)
12
 DependTarget()
(-)games/xpacman/files/patch-board.cc (-10 / +1 lines)
Lines 1-15 Link Here
1
--- board.cc.orig	Tue Jul 18 11:03:22 1995
1
--- board.cc.orig	Tue Jul 18 11:03:22 1995
2
+++ board.cc	Mon Mar 10 20:52:04 2008
2
+++ board.cc	Mon Mar 10 20:52:04 2008
3
@@ -119,7 +119,7 @@
3
@@ -527,6 +527,7 @@
4
  oldtemp=oldlist;
5
  while (oldtemp) {	//delete elements in the now previous sprite list
6
   oldnext=oldtemp->next;
7
-  delete oldnext;
8
+  delete oldtemp;
9
   oldtemp=oldnext;
10
  }
11
 if (zero && oldlist) {	//personal thingie used for debug, not useful
12
@@ -157,6 +157,7 @@
13
 void Board::sprite(DynamicElement *g) {	//let dynamicelement be a sprite
4
 void Board::sprite(DynamicElement *g) {	//let dynamicelement be a sprite
14
  liststruct *temp=0,*last=0;		//resets to null
5
  liststruct *temp=0,*last=0;		//resets to null
15
  liststruct *ny=new liststruct;		//get a new liststruct
6
  liststruct *ny=new liststruct;		//get a new liststruct
(-)games/xpacman/files/patch-f (-1 / +2 lines)
Lines 2-10 Link Here
2
+++ point.cc	Sun Jan  9 01:51:34 2000
2
+++ point.cc	Sun Jan  9 01:51:34 2000
3
@@ -1,7 +1,7 @@
3
@@ -1,7 +1,7 @@
4
 #include"point.h"
4
 #include"point.h"
5
 Point::Point(int xx=0,int yy=0) { x=xx; y=yy; }; 
5
-Point::Point(int xx=0,int yy=0) { x=xx; y=yy; }; 
6
-Point::val_x() { return x; };
6
-Point::val_x() { return x; };
7
-Point::val_y() { return y; };
7
-Point::val_y() { return y; };
8
+Point::Point(int xx,int yy) { x=xx; y=yy; }; 
8
+int Point::val_x() { return x; };
9
+int Point::val_x() { return x; };
9
+int Point::val_y() { return y; };
10
+int Point::val_y() { return y; };
10
 void Point::set_x(int xx) { x=xx; };
11
 void Point::set_x(int xx) { x=xx; };
(-)games/xpacman/files/patch-pac.cc (+11 lines)
Line 0 Link Here
1
--- pac.cc.orig	1995-07-20 16:59:35.000000000 +0400
2
+++ pac.cc	2014-08-09 11:48:00.762643451 +0400
3
@@ -82,7 +82,7 @@
4
 UserInterface::setlpCmdLine(lpCmdLine);
5
 UserInterface::setnCmdShow(nCmdShow);
6
 #else
7
-main(int argc,char **argv) {
8
+int main(int argc,char **argv) {
9
 Argument(argc, argv); 		// storing the command line arguments
10
 #endif
11
 
(-)games/xpacman/files/patch-sizes.h (+17 lines)
Line 0 Link Here
1
--- sizes.h.orig	1995-07-13 16:14:05.000000000 +0400
2
+++ sizes.h	2014-08-09 11:16:01.638794330 +0400
3
@@ -21,12 +21,12 @@
4
 #ifndef DOUBLE
5
 #define TEXTWIDTH 8
6
 #define TEXTHEIGHT 8
7
-#define FONT1 "5x8"
8
+#define FONT1 "-misc-fixed-*-r-*-*-8-*-*-*-*-*-*-*"
9
 #define FONT2 "5x7"
10
 #else
11
 #define TEXTWIDTH 8
12
 #define TEXTHEIGHT 16
13
-#define FONT1 "8x16"
14
+#define FONT1 "-misc-fixed-*-r-*-*-18-*-*-*-*-*-*-*"
15
 #define FONT2 "7x14"
16
 #endif
17
 //#define PFONT "clR6x8.fb"/*clR8x8" "6x10"*/

Return to bug 192546