aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-10-30 06:35:15 +0800
committerSteve Price <steve@FreeBSD.org>2000-10-30 06:35:15 +0800
commit7a8e7452a7a00a27e6319d3579561efb6e38ad75 (patch)
treea546cc019b00b61e1b45cc034701ac58ea1bfad1
parenta0d2406eae5983b2707639c1b7e9156076bd2497 (diff)
downloadfreebsd-ports-7a8e7452a7a00a27e6319d3579561efb6e38ad75.tar.gz
freebsd-ports-7a8e7452a7a00a27e6319d3579561efb6e38ad75.tar.zst
freebsd-ports-7a8e7452a7a00a27e6319d3579561efb6e38ad75.zip
Make struct.h idempotent so newer compilers don't bail because the
torp struct is being redefined.
Notes
Notes: svn path=/head/; revision=34423
-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__ */