diff options
author | wiz <wiz@pkgsrc.org> | 2006-01-07 16:15:46 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2006-01-07 16:15:46 +0000 |
commit | 8c7becbc8f5c32e3d2e90e0305a3b0fdef7cf5f1 (patch) | |
tree | 651773368bae9fc7d524fc25b97f288618a42bc7 | |
parent | 8c6266cfae46952efd7a13f895b1a6cb5836b487 (diff) | |
download | pkgsrc-8c7becbc8f5c32e3d2e90e0305a3b0fdef7cf5f1.tar.gz |
Fix build on NetBSD with statvfs. Remove BROKEN_IN.
-rw-r--r-- | shells/ast-ksh/Makefile | 4 | ||||
-rw-r--r-- | shells/ast-ksh/distinfo | 3 | ||||
-rw-r--r-- | shells/ast-ksh/patches/patch-ac | 16 |
3 files changed, 19 insertions, 4 deletions
diff --git a/shells/ast-ksh/Makefile b/shells/ast-ksh/Makefile index 35759043f39..395cb88cdfb 100644 --- a/shells/ast-ksh/Makefile +++ b/shells/ast-ksh/Makefile @@ -1,9 +1,7 @@ -# $NetBSD: Makefile,v 1.15 2006/01/04 05:27:20 schmonz Exp $ +# $NetBSD: Makefile,v 1.16 2006/01/07 16:15:46 wiz Exp $ # .include "Makefile.common" PKGREVISION= 1 -BROKEN_IN= pkgsrc-2005Q4 - .include "../../mk/bsd.pkg.mk" diff --git a/shells/ast-ksh/distinfo b/shells/ast-ksh/distinfo index 59811a88644..573f8540755 100644 --- a/shells/ast-ksh/distinfo +++ b/shells/ast-ksh/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.7 2005/02/24 13:14:41 agc Exp $ +$NetBSD: distinfo,v 1.8 2006/01/07 16:15:46 wiz Exp $ SHA1 (INIT.2003-07-24.tgz) = 92946d1b522345b6c8ac25cb11e4b621a95a9150 RMD160 (INIT.2003-07-24.tgz) = 27a6713f239632dbc35dacd1c41c050141fdc14a @@ -8,3 +8,4 @@ RMD160 (ast-ksh.2003-07-24.tgz) = 6ed4f9dbfaf0d57b785029c98c2b4a163c9d782e Size (ast-ksh.2003-07-24.tgz) = 1459120 bytes SHA1 (patch-aa) = dd3e5cc9b80ae6e24faed3f15af354cf34fb16a0 SHA1 (patch-ab) = adbbdb5deeb15c1eeb38bec5685d9e6331b2b964 +SHA1 (patch-ac) = 1bb9683cb3a652c9e13d7626d4e6558464209a44 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; |