File xgalaga-2.0.34-gcc4.patch of Package xgalaga

diff -ur xgalaga-orig/data.h xgalaga-2.0.34/data.h
--- xgalaga-orig/data.h	1998-05-11 08:37:19.000000000 +0200
+++ xgalaga-2.0.34/data.h	2005-04-27 15:17:18.715563208 +0200
@@ -1,4 +1,5 @@
 #include "Wlib.h"
+#include "struct.h"
 
 extern W_Window gal, baseWin;
 
diff -ur xgalaga-orig/libsprite/data.h xgalaga-2.0.34/libsprite/data.h
--- xgalaga-orig/libsprite/data.h	1998-04-12 08:03:22.000000000 +0200
+++ xgalaga-2.0.34/libsprite/data.h	2005-04-27 09:59:21.000000000 +0200
@@ -20,6 +20,7 @@
 
 #include "Wlib.h"
 #include "defs.h"
+#include "struct.h"
 
 extern int	nplanes;
 extern int	xpmORplanes ;
diff -ur xgalaga-orig/main.c xgalaga-2.0.34/main.c
--- xgalaga-orig/main.c	1998-05-11 08:52:59.000000000 +0200
+++ xgalaga-2.0.34/main.c	2005-04-27 15:13:37.790232069 +0200
@@ -78,7 +78,7 @@
 -scores              Prints out the high score files and exits\n\
 -display <display>   Set your display\n\
 -mouse               Use mouse control (same as 'm' at the title screen)\n\
--keyboard            Use keyboard control (same as 'k')\n%s\
+-keyboard            Use keyboard control (same as 'k')\n\
 -level <number>      Choose starting level (>= 1)\n\
 -b                   turn buffered mode off, use this if it runs\n\
 too slowly.  Will cause flicker, maybe lots,\n\
diff -ur xgalaga-orig/struct.h xgalaga-2.0.34/struct.h
--- xgalaga-orig/struct.h	1998-04-12 08:03:21.000000000 +0200
+++ xgalaga-2.0.34/struct.h	2005-04-27 15:20:17.869617475 +0200
@@ -1,3 +1,6 @@
+#ifndef STRUCT_H
+#define STRUCT_H
+
 #include "Wlib.h"
 
 struct torp {
@@ -38,3 +41,5 @@
     int count;
     W_Image *shape;
 };
+
+#endif