summaryrefslogtreecommitdiff
path: root/games/urban/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'games/urban/patches/patch-ad')
-rw-r--r--games/urban/patches/patch-ad31
1 files changed, 31 insertions, 0 deletions
diff --git a/games/urban/patches/patch-ad b/games/urban/patches/patch-ad
new file mode 100644
index 00000000000..4a34d8ad7a3
--- /dev/null
+++ b/games/urban/patches/patch-ad
@@ -0,0 +1,31 @@
+$NetBSD: patch-ad,v 1.1.1.1 2004/04/16 18:18:28 xtraeme Exp $
+
+--- 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 @@
+ }
+ /**************************************************************************/
+ 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;