summaryrefslogtreecommitdiffstats
path: root/shells
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2002-07-17 01:40:37 +0000
committernaddy <naddy@FreeBSD.org>2002-07-17 01:40:37 +0000
commit0fff1fb1c823aa0b755f41cd9aaacbbcce8c3818 (patch)
tree3ba9fac4eea4bae1a3054a16c8e59fec94ea0d90 /shells
parentbca1b6bf3404cbded61e2f828ed176acde5a29f3 (diff)
downloadFreeBSD-ports-0fff1fb1c823aa0b755f41cd9aaacbbcce8c3818.zip
FreeBSD-ports-0fff1fb1c823aa0b755f41cd9aaacbbcce8c3818.tar.gz
-CURRENT has <sys/statvfs.h> but no actual statvfs() implementation,
which badly confuses the configure tests that check for this functionality. Remove the tests for the time being.
Diffstat (limited to 'shells')
-rw-r--r--shells/ksh93/files/patch-src_lib_libast_features_fs22
1 files changed, 22 insertions, 0 deletions
diff --git a/shells/ksh93/files/patch-src_lib_libast_features_fs b/shells/ksh93/files/patch-src_lib_libast_features_fs
new file mode 100644
index 0000000..647a92f
--- /dev/null
+++ b/shells/ksh93/files/patch-src_lib_libast_features_fs
@@ -0,0 +1,22 @@
+
+$FreeBSD$
+
+--- src/lib/libast/features/fs.orig Wed Jul 17 02:32:11 2002
++++ src/lib/libast/features/fs Wed Jul 17 02:48:42 2002
+@@ -191,15 +191,11 @@
+ mem mntent.mnt_opts,mnttab.mnt_opts sys/types.h mnttab.h sys/mnttab.h
+ mem stat.st_blocks,stat.st_blksize,stat.st_rdev sys/types.h sys/stat.h
+ mem statfs.f_files,statfs.f_bavail sys/types.h - sys/statfs.h - sys/vfs.h - sys/param.h sys/mount.h
+-mem statvfs.f_basetype,statvfs.f_frsize sys/types.h sys/statvfs.h
+-ary f_reserved7 sys/types.h sys/statvfs.h note{ statvfs.f_reserved7 can double for statvfs.f_basetype }end compile{
+- int f(vp)struct statvfs* vp;{return vp->f_reserved7[0] = 1;}
+-}end
+ hdr mntent,mnttab
+ lib getmntent,getmntinfo,mntctl,mntopen,mntread,mntclose,setmntent
+ lib w_getmntent
+ lib statfs,statvfs
+-sys fs_types,mntent,mnttab,mount,statfs,statvfs,vfs,vmount
++sys fs_types,mntent,mnttab,mount,statfs,vfs,vmount
+ lib statfs4 sys/types.h - sys/statfs.h - sys/vfs.h - sys/mount.h compile{
+ int f()
+ {
OpenPOWER on IntegriCloud