aboutsummaryrefslogtreecommitdiffstats
path: root/games/xpacman
diff options
context:
space:
mode:
authorcpiazza <cpiazza@FreeBSD.org>2000-01-09 17:53:13 +0800
committercpiazza <cpiazza@FreeBSD.org>2000-01-09 17:53:13 +0800
commitd181b9a977986b4e9066e6b008092228ab8515e1 (patch)
treea2a935cfc675be01b4216b716d6204e92b60cdf7 /games/xpacman
parent4f1c3af6fe2a87a7f6efd35231829ea1a0225024 (diff)
downloadfreebsd-ports-graphics-d181b9a977986b4e9066e6b008092228ab8515e1.tar.gz
freebsd-ports-graphics-d181b9a977986b4e9066e6b008092228ab8515e1.tar.zst
freebsd-ports-graphics-d181b9a977986b4e9066e6b008092228ab8515e1.zip
Unbreak for newgcc
Diffstat (limited to 'games/xpacman')
-rw-r--r--games/xpacman/files/patch-c7
-rw-r--r--games/xpacman/files/patch-d11
-rw-r--r--games/xpacman/files/patch-e11
-rw-r--r--games/xpacman/files/patch-f12
4 files changed, 41 insertions, 0 deletions
diff --git a/games/xpacman/files/patch-c b/games/xpacman/files/patch-c
new file mode 100644
index 00000000000..6470ce3e9c3
--- /dev/null
+++ b/games/xpacman/files/patch-c
@@ -0,0 +1,7 @@
+--- gamedata.cc.orig Sun Jan 9 01:47:52 2000
++++ gamedata.cc Sun Jan 9 01:48:11 2000
+@@ -1,3 +1,4 @@
++#include <stdlib.h>
+ #include"gamedata.h"
+ #include"board.h"
+ #include"pac.h"
diff --git a/games/xpacman/files/patch-d b/games/xpacman/files/patch-d
new file mode 100644
index 00000000000..0344538fbcd
--- /dev/null
+++ b/games/xpacman/files/patch-d
@@ -0,0 +1,11 @@
+--- ghost.h.orig Sun Jan 9 01:49:42 2000
++++ ghost.h Sun Jan 9 01:50:05 2000
+@@ -31,7 +31,7 @@
+ Ghost(COLOURTYPE,int,int); //constructor with coordinates
+ ~Ghost(); //destructor
+ void draw(void); //draw the ghost
+-go(Pacman*); //go for pacman: do ghost code
++int go(Pacman*); //go for pacman: do ghost code
+ typ is_a(void) {return classGhost;}
+ void eat(void); //when pacman eats ghost
+ void getxy(int*,int*);
diff --git a/games/xpacman/files/patch-e b/games/xpacman/files/patch-e
new file mode 100644
index 00000000000..59ffd1f491d
--- /dev/null
+++ b/games/xpacman/files/patch-e
@@ -0,0 +1,11 @@
+--- ghost.cc.orig Sun Jan 9 01:50:15 2000
++++ ghost.cc Sun Jan 9 01:50:37 2000
+@@ -165,7 +165,7 @@
+ }
+ }
+
+-Ghost::go(Pacman *pac) { //go for pacman: do ghost code
++int Ghost::go(Pacman *pac) { //go for pacman: do ghost code
+ typ w; //what type is at next coordinates
+ int i=1; //moved or not?
+ int xx,yy; //coordinates
diff --git a/games/xpacman/files/patch-f b/games/xpacman/files/patch-f
new file mode 100644
index 00000000000..1a207e366f0
--- /dev/null
+++ b/games/xpacman/files/patch-f
@@ -0,0 +1,12 @@
+--- point.cc.orig Sun Jan 9 01:51:12 2000
++++ 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::val_x() { return x; };
+-Point::val_y() { return y; };
++int Point::val_x() { return x; };
++int Point::val_y() { return y; };
+ void Point::set_x(int xx) { x=xx; };
+ void Point::set_y(int yy) { y=yy; };
+ void Point::set_xy(int xx,int yy) { x=xx; y=yy; };