summaryrefslogtreecommitdiff
path: root/games/battleball/files
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2003-07-18 17:00:48 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2003-07-18 17:00:48 +0000
commit0b50a757e52f47c25d023005938c29eb7cb72093 (patch)
tree41703f55968226a0e207acbe4f81b6decc7574e9 /games/battleball/files
parentreconnect zebra-pj. (diff)
Fix build, remove BROKEN and refuce newline.
Also use %%DOCSDIR%% for pkg-plist. Patches submitted by: Simon Barner <barner@in.tum.de>
Notes
Notes: svn path=/head/; revision=85148
Diffstat (limited to 'games/battleball/files')
-rw-r--r--games/battleball/files/patch-lib3d-general.h18
-rw-r--r--games/battleball/files/patch-lib3d-xform.h10
2 files changed, 28 insertions, 0 deletions
diff --git a/games/battleball/files/patch-lib3d-general.h b/games/battleball/files/patch-lib3d-general.h
new file mode 100644
index 000000000000..e795d45e4463
--- /dev/null
+++ b/games/battleball/files/patch-lib3d-general.h
@@ -0,0 +1,18 @@
+--- lib3d/general.h.orig Fri Sep 3 04:25:19 1999
++++ lib3d/general.h Fri Jul 18 17:42:41 2003
+@@ -25,9 +25,15 @@
+ typedef unsigned int uint;
+ typedef unsigned long ulong;
+
++#ifdef __GNUC__
++#if __GNUC__ < 3
+ #define and &&
+ #define or ||
+ #define not !
++#endif
++
++// TODO - what about non-GNU C++ compilers?
++#endif
+
+ #define forii(limit) for (int i= 0; i <limit; i++)
+ #define forij(limit) for (int j= 0; j <limit; j++)
diff --git a/games/battleball/files/patch-lib3d-xform.h b/games/battleball/files/patch-lib3d-xform.h
new file mode 100644
index 000000000000..bca2ac7076d7
--- /dev/null
+++ b/games/battleball/files/patch-lib3d-xform.h
@@ -0,0 +1,10 @@
+--- lib3d/xform.h.orig Fri Jul 18 17:28:08 2003
++++ lib3d/xform.h Fri Jul 18 17:26:11 2003
+@@ -64,6 +64,7 @@
+
+ //===========================================================================
+ class tmtrx {
++ friend struct player;
+ typedef double fourby3[4][3];
+ fourby3 m;
+