diff options
Diffstat (limited to 'graphics/xart/patches/patch-ai')
-rw-r--r-- | graphics/xart/patches/patch-ai | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/graphics/xart/patches/patch-ai b/graphics/xart/patches/patch-ai new file mode 100644 index 00000000000..9e6863aa735 --- /dev/null +++ b/graphics/xart/patches/patch-ai @@ -0,0 +1,20 @@ +$NetBSD: patch-ai,v 1.1 2006/02/23 21:24:12 joerg Exp $ + +--- rw/writeGIF.c.orig 2006-02-23 21:14:43.000000000 +0000 ++++ rw/writeGIF.c +@@ -33,6 +33,7 @@ + ** CompuServe Incorporated. + */ + ++#include <errno.h> + #include <stdio.h> + #include "image.h" + #include "rwTable.h" +@@ -77,7 +78,6 @@ static Image *image; + int + WriteGIF(char *file, Image * outImage) + { +- extern int errno; + int r[MAXCOLORS], g[MAXCOLORS], b[MAXCOLORS]; + int i, bpp; + FILE *fp; |