summaryrefslogtreecommitdiff
path: root/graphics/xv/patches
diff options
context:
space:
mode:
authorgrant <grant>2003-02-28 23:44:37 +0000
committergrant <grant>2003-02-28 23:44:37 +0000
commit9e262b64373dbf6e4e38e30b47b187545e316f3a (patch)
tree929d999878636c41c3cf516f42d224abbd7e8623 /graphics/xv/patches
parentcdae5b54953b2a177c7378a3c755c0a4ed5219b5 (diff)
downloadpkgsrc-9e262b64373dbf6e4e38e30b47b187545e316f3a.tar.gz
fix a broken #ifdef, noted on Linux.
Diffstat (limited to 'graphics/xv/patches')
-rw-r--r--graphics/xv/patches/patch-ab13
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:");