summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-10-29 22:35:15 +0000
committerSteve Price <steve@FreeBSD.org>2000-10-29 22:35:15 +0000
commit7a8e7452a7a00a27e6319d3579561efb6e38ad75 (patch)
treea546cc019b00b61e1b45cc034701ac58ea1bfad1 /games
parentThat really needed a PORTREVISION=1 (diff)
Make struct.h idempotent so newer compilers don't bail because the
torp struct is being redefined.
Notes
Notes: svn path=/head/; revision=34423
Diffstat (limited to 'games')
-rw-r--r--games/xgalaga/files/patch-ad15
1 files changed, 15 insertions, 0 deletions
diff --git a/games/xgalaga/files/patch-ad b/games/xgalaga/files/patch-ad
new file mode 100644
index 000000000000..364d8f777d74
--- /dev/null
+++ b/games/xgalaga/files/patch-ad
@@ -0,0 +1,15 @@
+--- struct.h.orig Sun Oct 22 00:36:24 2000
++++ struct.h Sun Oct 22 00:37:03 2000
+@@ -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 /* __struct_h__ */