summaryrefslogtreecommitdiff
path: root/archivers/arj/patches
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2005-09-08 22:37:53 +0000
committerabs <abs@pkgsrc.org>2005-09-08 22:37:53 +0000
commitf72dc9cd6589f349f4a49928531d322d9bc94fc1 (patch)
treeca610a49f52ca0c0a1eb5fd47b6dc4093323d294 /archivers/arj/patches
parent2564b261d804d66fee0cdc36816f92e44a3f0475 (diff)
downloadpkgsrc-f72dc9cd6589f349f4a49928531d322d9bc94fc1.tar.gz
Catch some NetBSD statvfs() checks phrased alternatively as > 200030000
rather than >= 200040000 and one enterprisingly hidden as > 200050000
Diffstat (limited to 'archivers/arj/patches')
-rw-r--r--archivers/arj/patches/patch-aa4
1 files changed, 2 insertions, 2 deletions
diff --git a/archivers/arj/patches/patch-aa b/archivers/arj/patches/patch-aa
index 422f226a73a..117a7443b2e 100644
--- a/archivers/arj/patches/patch-aa
+++ b/archivers/arj/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.6 2005/03/22 16:24:13 minskim Exp $
+$NetBSD: patch-aa,v 1.7 2005/09/08 22:37:53 abs Exp $
--- environ.c.orig Fri Jun 18 11:19:36 2004
+++ environ.c
@@ -20,7 +20,7 @@ $NetBSD: patch-aa,v 1.6 2005/03/22 16:24:13 minskim Exp $
return((LONG_MAX/(spclu*bps)<fclu)?LONG_MAX:spclu*bps*fclu);
#elif TARGET==UNIX
- #if defined(__QNXNTO__)||defined(__sco__)||defined(SUNOS)
-+ #if defined(__QNXNTO__)||defined(__sco__)||defined(SUNOS)||defined(__INTERIX)||(defined(__NetBSD__) && (__NetBSD_Version__ > 200030000))
++ #if defined(__QNXNTO__)||defined(__sco__)||defined(SUNOS)||defined(__INTERIX)||(defined(__NetBSD__) && (__NetBSD_Version__ >= 299000900))
struct statvfs vfs;
if(statvfs(name, &vfs)==-1)