aboutsummaryrefslogtreecommitdiffstats
path: root/games/xgalaga
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-06-29 16:32:31 +0800
committermiwi <miwi@FreeBSD.org>2007-06-29 16:32:31 +0800
commitc574f6301e4b19fee450c0afe1bbaf1fc9ce59f6 (patch)
tree3ad44de5990aceb88f1b04d812b616a9073f436c /games/xgalaga
parent9faa59c6a263e0bd82f4135f2d8274694e3cecf7 (diff)
downloadfreebsd-ports-gnome-c574f6301e4b19fee450c0afe1bbaf1fc9ce59f6.tar.gz
freebsd-ports-gnome-c574f6301e4b19fee450c0afe1bbaf1fc9ce59f6.tar.zst
freebsd-ports-gnome-c574f6301e4b19fee450c0afe1bbaf1fc9ce59f6.zip
- Fix build with gcc4
PR: 114072 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'games/xgalaga')
-rw-r--r--games/xgalaga/files/patch-ae16
-rw-r--r--games/xgalaga/files/patch-data.h8
-rw-r--r--games/xgalaga/files/patch-libsprite__data.h10
-rw-r--r--games/xgalaga/files/patch-score.c10
-rw-r--r--games/xgalaga/files/patch-titile.c10
5 files changed, 50 insertions, 4 deletions
diff --git a/games/xgalaga/files/patch-ae b/games/xgalaga/files/patch-ae
index 58c77cfb4d03..5dc74c6d57e0 100644
--- a/games/xgalaga/files/patch-ae
+++ b/games/xgalaga/files/patch-ae
@@ -1,6 +1,14 @@
---- main.c.orig Mon May 11 08:52:59 1998
-+++ main.c Sat Nov 15 19:34:53 2003
-@@ -779,6 +779,7 @@
+--- main.c.orig Mon May 11 15:52:59 1998
++++ main.c Wed Jun 27 02:53:46 2007
+@@ -7,6 +7,7 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+ #ifdef HAVE_SYS_TIME_H
+ #include <sys/time.h>
+ #endif
+@@ -779,6 +780,7 @@
if(gameOver) {
while(W_EventsPending()) {
W_NextEvent(&wev);
@@ -8,7 +16,7 @@
if(gameOver)
mouseControl = 1;
-@@ -826,6 +827,7 @@
+@@ -826,6 +828,7 @@
while(W_EventsPending()) {
W_NextEvent(&wev);
diff --git a/games/xgalaga/files/patch-data.h b/games/xgalaga/files/patch-data.h
new file mode 100644
index 000000000000..7a5ec91fb178
--- /dev/null
+++ b/games/xgalaga/files/patch-data.h
@@ -0,0 +1,8 @@
+--- data.h.orig Mon May 11 15:37:19 1998
++++ data.h Wed Jun 27 02:50:31 2007
+@@ -1,4 +1,5 @@
+ #include "Wlib.h"
++#include "struct.h"
+
+ extern W_Window gal, baseWin;
+
diff --git a/games/xgalaga/files/patch-libsprite__data.h b/games/xgalaga/files/patch-libsprite__data.h
new file mode 100644
index 000000000000..50a3e7ab8b07
--- /dev/null
+++ b/games/xgalaga/files/patch-libsprite__data.h
@@ -0,0 +1,10 @@
+--- libsprite/data.h.orig Sun Apr 12 15:03:22 1998
++++ libsprite/data.h Wed Jun 27 02:49:24 2007
+@@ -20,6 +20,7 @@
+
+ #include "Wlib.h"
+ #include "defs.h"
++#include "struct.h"
+
+ extern int nplanes;
+ extern int xpmORplanes ;
diff --git a/games/xgalaga/files/patch-score.c b/games/xgalaga/files/patch-score.c
new file mode 100644
index 000000000000..ffe71be86f6b
--- /dev/null
+++ b/games/xgalaga/files/patch-score.c
@@ -0,0 +1,10 @@
+--- score.c.orig Thu Apr 30 14:11:58 1998
++++ score.c Wed Jun 27 02:55:23 2007
+@@ -4,6 +4,7 @@
+
+ #include <config.h>
+ #include <stdio.h>
++#include <string.h>
+ #include "Wlib.h"
+ #include "images.h"
+ #include "data.h"
diff --git a/games/xgalaga/files/patch-titile.c b/games/xgalaga/files/patch-titile.c
new file mode 100644
index 000000000000..630c9c36df9b
--- /dev/null
+++ b/games/xgalaga/files/patch-titile.c
@@ -0,0 +1,10 @@
+--- title.c.orig Mon May 11 15:52:59 1998
++++ title.c Wed Jun 27 02:54:45 2007
+@@ -4,6 +4,7 @@
+ #include <config.h>
+
+ #include <stdio.h>
++#include <string.h>
+ #include "Wlib.h"
+ #include "defs.h"
+ #include "images.h"