diff options
Diffstat (limited to 'graphics/xv/patches')
-rw-r--r-- | graphics/xv/patches/patch-af | 15 | ||||
-rw-r--r-- | graphics/xv/patches/patch-ag | 13 | ||||
-rw-r--r-- | graphics/xv/patches/patch-png2-Imakefile | 4 |
3 files changed, 14 insertions, 18 deletions
diff --git a/graphics/xv/patches/patch-af b/graphics/xv/patches/patch-af index 42440951b52..30b079f6d98 100644 --- a/graphics/xv/patches/patch-af +++ b/graphics/xv/patches/patch-af @@ -1,7 +1,7 @@ -$NetBSD: patch-af,v 1.2 1998/08/07 10:40:56 agc Exp $ +$NetBSD: patch-af,v 1.3 2000/01/04 16:55:33 bouyer Exp $ ---- xv.h 1997/11/20 12:25:30 1.1 -+++ xv.h 1997/11/20 12:25:47 +--- xv.h.orig Tue Jan 4 17:12:42 2000 ++++ xv.h Tue Jan 4 17:13:38 2000 @@ -107,9 +107,7 @@ #endif @@ -13,3 +13,12 @@ $NetBSD: patch-af,v 1.2 1998/08/07 10:40:56 agc Exp $ /* include files */ +@@ -128,7 +126,7 @@ + #ifndef VMS + # include <errno.h> + extern int errno; /* SHOULD be in errno.h, but often isn't */ +-# if !(defined(BSD) && (BSD >= 199103)) ++# if !(defined(BSD) && (BSD >= 199103)) && !defined(__linux__) + extern char *sys_errlist[]; /* this too... */ + # endif + #endif diff --git a/graphics/xv/patches/patch-ag b/graphics/xv/patches/patch-ag deleted file mode 100644 index 6f1b05c8ea3..00000000000 --- a/graphics/xv/patches/patch-ag +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-ag,v 1.1 1999/09/20 18:03:41 christos Exp $ - ---- ./xv.h.orig Mon Sep 20 13:33:56 1999 -+++ ./xv.h Mon Sep 20 13:37:46 1999 -@@ -126,7 +126,7 @@ - #ifndef VMS - # include <errno.h> - extern int errno; /* SHOULD be in errno.h, but often isn't */ --# if !(defined(BSD) && (BSD >= 199103)) -+# if !(defined(BSD) && (BSD >= 199103)) && !defined(__linux__) - extern char *sys_errlist[]; /* this too... */ - # endif - #endif diff --git a/graphics/xv/patches/patch-png2-Imakefile b/graphics/xv/patches/patch-png2-Imakefile index 940be820add..1609460938c 100644 --- a/graphics/xv/patches/patch-png2-Imakefile +++ b/graphics/xv/patches/patch-png2-Imakefile @@ -1,4 +1,4 @@ -$NetBSD: patch-png2-Imakefile,v 1.1 1999/06/13 16:23:54 hubertf Exp $ +$NetBSD: patch-png2-Imakefile,v 1.2 2000/01/04 16:55:34 bouyer Exp $ This patch is based on http://www.mit.edu/afs/athena/contrib/graphics/src/xv/patches/png/xvpng.diff @@ -45,7 +45,7 @@ It was edited to fit into the NetBSD Packages Collection! - HF +### +*/ +#ifdef UseInstalledZlib -+ZLIBDIR = /usr ++ZLIBDIR = $(LOCALBASE) +ZLIBINC = -I$(ZLIBDIR)/include +ZLIBLIB = -L$(ZLIBDIR)/lib -lz +LIBZLIB = ${ZLIB} |