diff options
author | grant <grant@pkgsrc.org> | 2003-02-28 23:44:37 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2003-02-28 23:44:37 +0000 |
commit | d71b2f11c38695b2b9b859e88cfcb2d31b8bc27f (patch) | |
tree | 929d999878636c41c3cf516f42d224abbd7e8623 /graphics/xv/patches | |
parent | 125d231c4abd11dc6628530a2247e01877b9a3b3 (diff) | |
download | pkgsrc-d71b2f11c38695b2b9b859e88cfcb2d31b8bc27f.tar.gz |
fix a broken #ifdef, noted on Linux.
Diffstat (limited to 'graphics/xv/patches')
-rw-r--r-- | graphics/xv/patches/patch-ab | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/graphics/xv/patches/patch-ab b/graphics/xv/patches/patch-ab index 7854f7fe85b..8fd60ea28e5 100644 --- a/graphics/xv/patches/patch-ab +++ b/graphics/xv/patches/patch-ab @@ -1,5 +1,7 @@ ---- vdcomp.c.orig Mon Jan 13 21:38:49 2003 -+++ vdcomp.c Mon Jan 13 21:47:04 2003 +$NetBSD: patch-ab,v 1.6 2003/02/28 23:44:38 grant Exp $ + +--- vdcomp.c.orig Sat Mar 1 10:42:12 2003 ++++ vdcomp.c @@ -109,12 +109,16 @@ !defined(__bsd43) && \ !defined(aux) && \ @@ -13,12 +15,13 @@ # if defined(hp300) || defined(hp800) || defined(NeXT) # include <sys/malloc.h> /* it's in 'sys' on HPs and NeXT */ # else - # if !defined(__386BSD__) && !defined(__FreeBSD__) && !defined(__NetBSD__) +-# if !defined(__386BSD__) && !defined(__FreeBSD__) && !defined(__NetBSD__) ++# if !defined(__386BSD__) && !defined(__FreeBSD__) && !defined(__NetBSD__) \ + && !defined(__Darwin__) /* I want to use BSD macro for checking if this OS is *BSD or not, but the macro is defined in <sys/parm.h>, which I don't know all -@@ -437,10 +441,13 @@ +@@ -437,10 +441,13 @@ int host; { short shortint; typedef long off_t; @@ -33,7 +36,7 @@ } if (host == 1 | host == 2) { -@@ -482,13 +489,17 @@ +@@ -482,13 +489,17 @@ int host; printf("\n 3. VICAR format."); printf("\n 4. Unlabelled binary array.\n"); printf("\n Enter format number:"); |