summaryrefslogtreecommitdiff
path: root/net/spegla/patches
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2005-09-06 08:10:57 +0000
committerabs <abs@pkgsrc.org>2005-09-06 08:10:57 +0000
commitee9906d1989b65788f92509fd0b4ed4464bc22a1 (patch)
tree93bf2742fc4e1bf90527c6e25c8e73ae1da1c960 /net/spegla/patches
parent8e32b054d75f8ceddac6834c017e26667ecbd768 (diff)
downloadpkgsrc-ee9906d1989b65788f92509fd0b4ed4464bc22a1.tar.gz
Fix NetBSD statvfs check to be >= 299000900 not >= 200040000
No pkgrevision bumps needed.
Diffstat (limited to 'net/spegla/patches')
-rw-r--r--net/spegla/patches/patch-ab6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/spegla/patches/patch-ab b/net/spegla/patches/patch-ab
index 5e774c539ac..212ad51c93c 100644
--- a/net/spegla/patches/patch-ab
+++ b/net/spegla/patches/patch-ab
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.5 2004/12/09 16:01:58 wiz Exp $
+$NetBSD: patch-ab,v 1.6 2005/09/06 08:10:59 abs Exp $
--- spegla.c.orig 2000-05-27 15:38:14.000000000 +0200
+++ spegla.c
@@ -7,7 +7,7 @@ $NetBSD: patch-ab,v 1.5 2004/12/09 16:01:58 wiz Exp $
struct fs_data f;
#else
-#ifdef Solaris
-+#if defined(Solaris) || (defined(__NetBSD__) && __NetBSD_Version__ >= 200040000)
++#if defined(Solaris) || (defined(__NetBSD__) && __NetBSD_Version__ >= 299000900)
struct statvfs f;
#else
struct statfs f;
@@ -16,7 +16,7 @@ $NetBSD: patch-ab,v 1.5 2004/12/09 16:01:58 wiz Exp $
return;
-#ifdef Solaris
-+#if defined(Solaris) || (defined(__NetBSD__) && __NetBSD_Version__ >= 200040000)
++#if defined(Solaris) || (defined(__NetBSD__) && __NetBSD_Version__ >= 299000900)
if (statvfs(path, &f) < 0)
e_err(1, "statvfs: %s", path);
#else