aboutsummaryrefslogtreecommitdiffstats
path: root/games/urban/files/patch-src::gfx::ggidrv.cc
diff options
context:
space:
mode:
Diffstat (limited to 'games/urban/files/patch-src::gfx::ggidrv.cc')
-rw-r--r--games/urban/files/patch-src::gfx::ggidrv.cc37
1 files changed, 9 insertions, 28 deletions
diff --git a/games/urban/files/patch-src::gfx::ggidrv.cc b/games/urban/files/patch-src::gfx::ggidrv.cc
index 99d59f2c005..6ec412e012c 100644
--- a/games/urban/files/patch-src::gfx::ggidrv.cc
+++ b/games/urban/files/patch-src::gfx::ggidrv.cc
@@ -1,29 +1,10 @@
---- src/gfx/ggidrv.cc.orig Sun Jan 25 03:56:28 2004
-+++ src/gfx/ggidrv.cc Sun Jan 25 03:57:34 2004
-@@ -383,7 +383,7 @@
- }
+--- src/gfx/ggidrv.cc.orig Tue Dec 14 06:26:36 2004
++++ src/gfx/ggidrv.cc Tue Dec 14 06:26:45 2004
+@@ -32,6 +32,7 @@
+ #include <string.h>
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <unistd.h>
+ #include <ggi/ggi.h>
+ #include <allegro.h>
/**************************************************************************/
- int set_palette(PALETTE p) {
-- struct ggi_color pal[256];
-+ ggi_color pal[256];
- int i;
-
- for(i=0;i<256;i++) {
-@@ -398,7 +398,7 @@
- };
- /**************************************************************************/
- void get_palette(PALETTE p) {
-- struct ggi_color pal[256];
-+ ggi_color pal[256];
- int i;
-
- ggiGetPalette(screen->vis, 0, 1 << 8, pal);
-@@ -715,7 +715,7 @@
- }
- /**************************************************************************/
- int set_color(int i, RGB *rgb) {
-- struct ggi_color Color;
-+ ggi_color Color;
-
- Color.r = rgb->r << 10;
- Color.g = rgb->g << 10;