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, 2 insertions, 29 deletions
diff --git a/games/urban/patches/patch-ad b/games/urban/patches/patch-ad
index 790e27619d1..21cda11e382 100644
--- a/games/urban/patches/patch-ad
+++ b/games/urban/patches/patch-ad
@@ -1,6 +1,6 @@
-$NetBSD: patch-ad,v 1.2 2005/03/25 02:56:42 wiz Exp $
+$NetBSD: patch-ad,v 1.3 2005/03/25 03:10:23 wiz Exp $
---- src/gfx/ggidrv.cc.orig 1999-07-02 11:20:29.000000000 +0200
+--- src/gfx/ggidrv.cc.orig 2000-01-22 22:39:14.000000000 +0100
+++ src/gfx/ggidrv.cc
@@ -32,6 +32,7 @@
#include <string.h>
@@ -10,30 +10,3 @@ $NetBSD: patch-ad,v 1.2 2005/03/25 02:56:42 wiz Exp $
#include <ggi/ggi.h>
#include <allegro.h>
/**************************************************************************/
-@@ -383,7 +384,7 @@ int set_gfx_mode(int mode, int w, int 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 +399,7 @@ int set_palette(PALETTE p) {
- };
- /**************************************************************************/
- 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 +716,7 @@ void remove_int(void (*proc)()) {
- }
- /**************************************************************************/
- int set_color(int i, RGB *rgb) {
-- struct ggi_color Color;
-+ ggi_color Color;
-
- Color.r = rgb->r << 10;
- Color.g = rgb->g << 10;