1 diff -uraN apt-0.7.14.orig/cmdline/apt-get.cc apt-0.7.14/cmdline/apt-get.cc
2 --- apt-0.7.14.orig/cmdline/apt-get.cc 2008-05-28 09:22:14.000000000 -0400
3 +++ apt-0.7.14/cmdline/apt-get.cc 2008-09-28 02:01:30.256888185 -0400
6 if (unsigned(Buf.f_bfree) < (FetchBytes - FetchPBytes)/Buf.f_bsize)
8 +#ifndef __OpenSolaris_kernel__
10 if (statfs(OutputDir.c_str(),&Stat) != 0 ||
11 unsigned(Stat.f_type) != RAMFS_MAGIC)
13 return _error->Error(_("You don't have enough free space in %s."),
16 @@ -2167,9 +2169,11 @@
18 if (unsigned(Buf.f_bfree) < (FetchBytes - FetchPBytes)/Buf.f_bsize)
20 +#ifndef __OpenSolaris_kernel__
22 if (statfs(OutputDir.c_str(),&Stat) != 0 ||
23 unsigned(Stat.f_type) != RAMFS_MAGIC)
25 return _error->Error(_("You don't have enough free space in %s"),