summaryrefslogtreecommitdiff
path: root/games/urban/patches/patch-ad
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2005-03-25 02:56:42 +0000
committerwiz <wiz@pkgsrc.org>2005-03-25 02:56:42 +0000
commit8a783bebd3943752fd68457acfc0fa85d8b5816c (patch)
treeb13b3c8559ccceb4b0c7d0295e5e3aaf2362c5ca /games/urban/patches/patch-ad
parente7c58518d2246d47778121d0f74ea6d3a9ef1073 (diff)
downloadpkgsrc-8a783bebd3943752fd68457acfc0fa85d8b5816c.tar.gz
Bump PKGREVISION for libggi update.
Make it compile. Update HOMEPAGE and MASTER_SITES.
Diffstat (limited to 'games/urban/patches/patch-ad')
-rw-r--r--games/urban/patches/patch-ad20
1 files changed, 14 insertions, 6 deletions
diff --git a/games/urban/patches/patch-ad b/games/urban/patches/patch-ad
index 4a34d8ad7a3..790e27619d1 100644
--- a/games/urban/patches/patch-ad
+++ b/games/urban/patches/patch-ad
@@ -1,8 +1,16 @@
-$NetBSD: patch-ad,v 1.1.1.1 2004/04/16 18:18:28 xtraeme Exp $
+$NetBSD: patch-ad,v 1.2 2005/03/25 02:56:42 wiz 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 @@
+--- src/gfx/ggidrv.cc.orig 1999-07-02 11:20:29.000000000 +0200
++++ src/gfx/ggidrv.cc
+@@ -32,6 +32,7 @@
+ #include <string.h>
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <unistd.h>
+ #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) {
@@ -11,7 +19,7 @@ $NetBSD: patch-ad,v 1.1.1.1 2004/04/16 18:18:28 xtraeme Exp $
int i;
for(i=0;i<256;i++) {
-@@ -398,7 +398,7 @@
+@@ -398,7 +399,7 @@ int set_palette(PALETTE p) {
};
/**************************************************************************/
void get_palette(PALETTE p) {
@@ -20,7 +28,7 @@ $NetBSD: patch-ad,v 1.1.1.1 2004/04/16 18:18:28 xtraeme Exp $
int i;
ggiGetPalette(screen->vis, 0, 1 << 8, pal);
-@@ -715,7 +715,7 @@
+@@ -715,7 +716,7 @@ void remove_int(void (*proc)()) {
}
/**************************************************************************/
int set_color(int i, RGB *rgb) {