summaryrefslogtreecommitdiff
path: root/games/battleball/patches
diff options
context:
space:
mode:
authorfredb <fredb@pkgsrc.org>2000-01-06 08:36:07 +0000
committerfredb <fredb@pkgsrc.org>2000-01-06 08:36:07 +0000
commit481e26228b2fa1eeb0691a147ee8548e6741bcfb (patch)
treee0de5ba0d5857f53d421afee3de7d885ab6f6708 /games/battleball/patches
parent3d8ba37e9286bca7d3751d1b24ff948acddc77ed (diff)
downloadpkgsrc-481e26228b2fa1eeb0691a147ee8548e6741bcfb.tar.gz
Update to battleball-2.1.
- - Now compiles "out of the box" with g++ 2.8.0 and later. - - Game window is now taller, for a better view. - - Now alway double-buffered. - - OpenGL rendering mode. (Disabled by default in the package. Set USE_MESA=YES to build in support for Mesa.)
Diffstat (limited to 'games/battleball/patches')
-rw-r--r--games/battleball/patches/patch-aa66
-rw-r--r--games/battleball/patches/patch-ab14
-rw-r--r--games/battleball/patches/patch-ac10
-rw-r--r--games/battleball/patches/patch-ad12
4 files changed, 0 insertions, 102 deletions
diff --git a/games/battleball/patches/patch-aa b/games/battleball/patches/patch-aa
deleted file mode 100644
index ab513348aa5..00000000000
--- a/games/battleball/patches/patch-aa
+++ /dev/null
@@ -1,66 +0,0 @@
-$NetBSD: patch-aa,v 1.1 1999/08/07 10:36:17 fredb Exp $
-
---- lib3d/rect3d.h.orig Wed Aug 5 20:55:33 1998
-+++ lib3d/rect3d.h Sat Aug 7 03:18:21 1999
-@@ -13,31 +13,30 @@
-
-
- /************************************************************************/
--/* pnt = N-dimensional point type which delimits the bounds of the rect
-- pnts = container of pts
-+/* pt3d = N-dimensional point type which delimits the bounds of the rect
-+ table<pt3d> = container of pts
- */
--template <class pnt, class pnts>
--struct rect {
-- pnt low,
-+struct rect3d {
-+ pt3d low,
- high;
-
-- bool Contains(const pnt& p) const
-+ bool Contains(const pt3d& p) const
- {return p.IsBetween(low,high);};
-- bool ContainsInclusively(const pnt& p) const
-+ bool ContainsInclusively(const pt3d& p) const
- {return p.IsBetweenInclusively(low,high);};
-- bool ContainsExclusively(const pnt& p) const
-+ bool ContainsExclusively(const pt3d& p) const
- {return p.IsBetweenExclusively(low,high);};
--// Center used to return "const pnt& "
-- pnt Center() const
-+// Center used to return "const pt3d& "
-+ pt3d Center() const
- {return (low+high)/2;};
-
-- void MakeBoundingBox(const pnts& pts, pnt::coord& farthestDist) {
-- pnt::coord d;
-+ void MakeBoundingBox(const table<pt3d>& pts, pt3d::coord& farthestDist) {
-+ pt3d::coord d;
-
- farthestDist= 0;
- if (pts.Num()==0) {
-- low= pnt(0,0,0);
-- high= pnt(0,0,0);
-+ low= pt3d(0,0,0);
-+ high= pt3d(0,0,0);
- return;
- }
-
-@@ -45,7 +44,7 @@
- high= pts[0];
-
- forii(pts.Num()) {
-- d= (pnt::coord) pts[i].Dist();
-+ d= (pt3d::coord) pts[i].Dist();
- if (d >farthestDist)
- farthestDist= d;
- low.SetMin(pts[i]);
-@@ -55,7 +54,5 @@
-
- };
-
--
--typedef rect<pt3d,table<pt3d> > rect3d;
-
- #endif
diff --git a/games/battleball/patches/patch-ab b/games/battleball/patches/patch-ab
deleted file mode 100644
index 908bf51474e..00000000000
--- a/games/battleball/patches/patch-ab
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-ab,v 1.1 1999/08/07 10:36:17 fredb Exp $
-
---- bb/player.C.orig Wed Aug 5 21:00:47 1998
-+++ bb/player.C Sat Aug 7 03:18:21 1999
-@@ -12,7 +12,9 @@
-
-
- #ifdef __GNUC__
-+# if (__GNUC__ < 3) && (__GNUC_MINOR__ < 91)
- char __stl_temp_buffer[__stl_buffer_size];
-+# endif
- #else
- #include "tempbuf.cpp" // quasi-hack necessary to use STL's stable_sort()
- #endif
diff --git a/games/battleball/patches/patch-ac b/games/battleball/patches/patch-ac
deleted file mode 100644
index 0c7bf075bbc..00000000000
--- a/games/battleball/patches/patch-ac
+++ /dev/null
@@ -1,10 +0,0 @@
-$NetBSD: patch-ac,v 1.1 1999/08/07 10:36:17 fredb Exp $
-
---- Imakefile.orig Thu Oct 9 18:37:08 1997
-+++ Imakefile Sat Aug 7 03:18:22 1999
-@@ -1,4 +1,5 @@
- CXX = g++
-+CXXOPTIONS = -funroll-loops -Wall
- PROGRAMS = battleball
-
- XCOMM If your compiler doesn't have STL in its default include path, add
diff --git a/games/battleball/patches/patch-ad b/games/battleball/patches/patch-ad
deleted file mode 100644
index c15e80d2ff9..00000000000
--- a/games/battleball/patches/patch-ad
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-ad,v 1.1 1999/08/07 10:36:18 fredb Exp $
-
---- lib3d/general.C.orig Wed Aug 5 20:55:48 1998
-+++ lib3d/general.C Sat Aug 7 03:30:27 1999
-@@ -6,6 +6,7 @@
- #include <math.h>
- #include <sys/time.h> // to get select()
- //#include <sys/select.h> // to get select() on some other systems
-+#include <unistd.h> // to get select() on NetBSD
- #include "general.h"
- #include "ang2d.h"
-