summaryrefslogtreecommitdiff
path: root/shells/ast-ksh/patches
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2006-01-07 16:15:46 +0000
committerwiz <wiz@pkgsrc.org>2006-01-07 16:15:46 +0000
commit8c7becbc8f5c32e3d2e90e0305a3b0fdef7cf5f1 (patch)
tree651773368bae9fc7d524fc25b97f288618a42bc7 /shells/ast-ksh/patches
parent8c6266cfae46952efd7a13f895b1a6cb5836b487 (diff)
downloadpkgsrc-8c7becbc8f5c32e3d2e90e0305a3b0fdef7cf5f1.tar.gz
Fix build on NetBSD with statvfs. Remove BROKEN_IN.
Diffstat (limited to 'shells/ast-ksh/patches')
-rw-r--r--shells/ast-ksh/patches/patch-ac16
1 files changed, 16 insertions, 0 deletions
diff --git a/shells/ast-ksh/patches/patch-ac b/shells/ast-ksh/patches/patch-ac
new file mode 100644
index 00000000000..9c25b894d98
--- /dev/null
+++ b/shells/ast-ksh/patches/patch-ac
@@ -0,0 +1,16 @@
+$NetBSD: patch-ac,v 1.1 2006/01/07 16:15:46 wiz Exp $
+
+--- src/lib/libast/port/mnt.c.orig 2002-09-26 16:33:59.000000000 +0000
++++ src/lib/libast/port/mnt.c
+@@ -146,6 +146,11 @@ set(register Header_t* hp, const char* f
+ #include <sys/param.h> /* expect some macro redefinitions here */
+ #include <sys/mount.h>
+
++#if defined(__NetBSD__) && (__NetBSD_Version__ > 299000000)
++#define statfs statvfs
++#define f_flags f_flag
++#endif
++
+ typedef struct
+ {
+ Header_t hdr;