pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/battleball Fix LP64 issues. Bump revision.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/647356b787dc
branches:  trunk
changeset: 543645:647356b787dc
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Jun 21 18:12:42 2008 +0000

description:
Fix LP64 issues. Bump revision.

diffstat:

 games/battleball/Makefile         |   4 ++--
 games/battleball/distinfo         |   7 ++++++-
 games/battleball/patches/patch-ae |  13 +++++++++++++
 games/battleball/patches/patch-af |  13 +++++++++++++
 games/battleball/patches/patch-ag |  13 +++++++++++++
 games/battleball/patches/patch-ah |  13 +++++++++++++
 games/battleball/patches/patch-ai |  13 +++++++++++++
 7 files changed, 73 insertions(+), 3 deletions(-)

diffs (117 lines):

diff -r 99ea750828c1 -r 647356b787dc games/battleball/Makefile
--- a/games/battleball/Makefile Sat Jun 21 18:01:18 2008 +0000
+++ b/games/battleball/Makefile Sat Jun 21 18:12:42 2008 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.26 2008/03/04 06:59:03 jlam Exp $
+# $NetBSD: Makefile,v 1.27 2008/06/21 18:12:42 joerg Exp $
 
 DISTNAME=      battleball.21.src
 PKGNAME=       battleball-2.1
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    games x11
 MASTER_SITES=  #
 
diff -r 99ea750828c1 -r 647356b787dc games/battleball/distinfo
--- a/games/battleball/distinfo Sat Jun 21 18:01:18 2008 +0000
+++ b/games/battleball/distinfo Sat Jun 21 18:12:42 2008 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2005/02/23 23:11:54 agc Exp $
+$NetBSD: distinfo,v 1.6 2008/06/21 18:12:42 joerg Exp $
 
 SHA1 (battleball.21.src.tar.gz) = 5bc651d513d378d449c117488ef54af5f3381072
 RMD160 (battleball.21.src.tar.gz) = 8bc3ad8767c274135bc3f9d8bf95d8b6518c3542
@@ -7,3 +7,8 @@
 SHA1 (patch-ab) = 477a8860a8f65a10b163846f184c39e7916712ff
 SHA1 (patch-ac) = 2c192f32eb0d732ad88d934e68321ee21a90ae4f
 SHA1 (patch-ad) = 6257ea75af46d4ff29e9c4f1532470c3808c78fa
+SHA1 (patch-ae) = b0e027ab0a08b334f3a099af43ceca0b2cb06600
+SHA1 (patch-af) = 4df474c2c33c6585c66b0fac818fbfa07f425e96
+SHA1 (patch-ag) = 49db8de772d6540459b7681d0976a1ba2d0ca48a
+SHA1 (patch-ah) = cc38a241b74f32fbc04e79faedd0f9a9bf023418
+SHA1 (patch-ai) = 6a281ab5775b768df0554600c0329f7b24564c45
diff -r 99ea750828c1 -r 647356b787dc games/battleball/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/battleball/patches/patch-ae Sat Jun 21 18:12:42 2008 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.1 2008/06/21 18:12:42 joerg Exp $
+
+--- bsp/bsp.C.orig     2008-06-21 12:05:00.000000000 +0000
++++ bsp/bsp.C
+@@ -1205,7 +1205,7 @@ void bsp_printf(BSP *t,int level) {
+     printf("bad_neg_parent ");
+ 
+   for (i=0; i<t->numpolys; i++)
+-    printf("%ld ", (t->polys[i]->material_index) % 100000);
++    printf("%ld ", (long)(t->polys[i]->material_index) % 100000);
+ 
+   if (t->positive)
+     if (t->negative)
diff -r 99ea750828c1 -r 647356b787dc games/battleball/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/battleball/patches/patch-af Sat Jun 21 18:12:42 2008 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1 2008/06/21 18:12:42 joerg Exp $
+
+--- bsp/polygon.C.orig 2008-06-21 12:05:25.000000000 +0000
++++ bsp/polygon.C
+@@ -130,7 +130,7 @@ void
+ PolygonPrint3f(FILE *fp, Polygon3f *p)
+ {
+       int i;
+-      fprintf(fp, "numverts=%d material_index=%d\n", p->numverts, p->material_index);
++      fprintf(fp, "numverts=%d material_index=%p\n", p->numverts, p->material_index);
+       for (i = 0; i < p->numverts; i++)
+               fprintf(fp, "%f %f %f\n",
+                       p->verts[i][0], p->verts[i][1], p->verts[i][2]);
diff -r 99ea750828c1 -r 647356b787dc games/battleball/patches/patch-ag
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/battleball/patches/patch-ag Sat Jun 21 18:12:42 2008 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ag,v 1.1 2008/06/21 18:12:42 joerg Exp $
+
+--- bsp/polygon.h.orig 2008-06-21 12:04:08.000000000 +0000
++++ bsp/polygon.h
+@@ -21,7 +21,7 @@ typedef struct {
+       int numverts;
+       Vec3f verts[MAXPOLYVERT];
+       Vec3f plane_normal;
+-      int material_index;
++      void *material_index;
+         int facesForward;   // true: faces same dir as BSP node's plane faces
+ } Polygon3f;
+ 
diff -r 99ea750828c1 -r 647356b787dc games/battleball/patches/patch-ah
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/battleball/patches/patch-ah Sat Jun 21 18:12:42 2008 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ah,v 1.1 2008/06/21 18:12:42 joerg Exp $
+
+--- lib3d/bsppanel3d.C.orig    2008-06-21 12:05:40.000000000 +0000
++++ lib3d/bsppanel3d.C
+@@ -42,7 +42,7 @@ Polygon3f bspPanel3d::asPolygon3f(pt3d p
+   }
+ 
+   pt3d2Vec3f(normal,poly.plane_normal);
+-  poly.material_index= (int) this;
++  poly.material_index= this;
+   return poly;
+ }
+ 
diff -r 99ea750828c1 -r 647356b787dc games/battleball/patches/patch-ai
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/battleball/patches/patch-ai Sat Jun 21 18:12:42 2008 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ai,v 1.1 2008/06/21 18:12:42 joerg Exp $
+
+--- lib3d/bspregion3d.C.orig   2008-06-21 12:06:10.000000000 +0000
++++ lib3d/bspregion3d.C
+@@ -97,7 +97,7 @@ void bspRegion3d::MakeBspTreePanels(BSP 
+       xpanel3d& panel= * (xpanel3d *) poly->material_index;
+ 
+       poly->material_index=
+-      (int) & *treePanels.insert(treePanels.end(),xpanel3d(*poly,pts,panel));
++      & *treePanels.insert(treePanels.end(),xpanel3d(*poly,pts,panel));
+     }
+     MakeBspTreePanels(bspt->negative);
+     MakeBspTreePanels(bspt->positive);



Home | Main Index | Thread Index | Old Index