/[gentoo-x86]/games-action/gltron/files/gltron-0.70-debian.patch
Gentoo

Contents of /games-action/gltron/files/gltron-0.70-debian.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat Jul 30 04:53:52 2005 UTC (9 years, 4 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Add fixes from Debian for amd64 support #100109 Micha Wiernowolski.
(Portage version: 2.0.51.22-r2)

1 Ripped from Debian patchset 6
2
3 --- src/include/game/game_data.h
4 +++ src/include/game/game_data.h
5 @@ -71,7 +71,7 @@
6 typedef struct AI {
7 int active;
8 int tdiff;
9 - long lasttime;
10 + unsigned int lasttime;
11 segment2 left, right, front, backleft;
12 } AI;
13
14 --- src/include/video/fonttex.h
15 +++ src/include/video/fonttex.h
16 @@ -10,7 +10,7 @@
17 int lower; /* lowest ascii character (normally: 32) */
18 int upper; /* highest ascii character (normally: 126) */
19
20 - int *texID;
21 + unsigned int *texID;
22
23 char *fontname;
24 char *bitmapname;
25 --- src/video/trail.c
26 +++ src/video/trail.c
27 @@ -19,7 +19,7 @@
28 n[1] = s->vStart.v[1] - s->vDirection.v[0];
29 tmp[0] = eye[0] - s->vStart.v[0];
30 tmp[1] = eye[1] - s->vStart.v[1];
31 - if(n[0] == n[1] == 0) return length(tmp);
32 + if(n[0] == 0 && n[1] == 0) return length(tmp);
33 return abs(scalarprod2(n, tmp) / length(n));
34 }
35

  ViewVC Help
Powered by ViewVC 1.1.20