pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/shells/ast-ksh Fix build on NetBSD with statvfs. Remov...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6b6489f85ef5
branches:  trunk
changeset: 505780:6b6489f85ef5
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Jan 07 16:15:46 2006 +0000

description:
Fix build on NetBSD with statvfs. Remove BROKEN_IN.

diffstat:

 shells/ast-ksh/Makefile         |   4 +---
 shells/ast-ksh/distinfo         |   3 ++-
 shells/ast-ksh/patches/patch-ac |  16 ++++++++++++++++
 3 files changed, 19 insertions(+), 4 deletions(-)

diffs (48 lines):

diff -r 8aa70c73b3cd -r 6b6489f85ef5 shells/ast-ksh/Makefile
--- a/shells/ast-ksh/Makefile   Sat Jan 07 16:04:55 2006 +0000
+++ b/shells/ast-ksh/Makefile   Sat Jan 07 16:15:46 2006 +0000
@@ -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 -r 8aa70c73b3cd -r 6b6489f85ef5 shells/ast-ksh/distinfo
--- a/shells/ast-ksh/distinfo   Sat Jan 07 16:04:55 2006 +0000
+++ b/shells/ast-ksh/distinfo   Sat Jan 07 16:15:46 2006 +0000
@@ -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 @@
 Size (ast-ksh.2003-07-24.tgz) = 1459120 bytes
 SHA1 (patch-aa) = dd3e5cc9b80ae6e24faed3f15af354cf34fb16a0
 SHA1 (patch-ab) = adbbdb5deeb15c1eeb38bec5685d9e6331b2b964
+SHA1 (patch-ac) = 1bb9683cb3a652c9e13d7626d4e6558464209a44
diff -r 8aa70c73b3cd -r 6b6489f85ef5 shells/ast-ksh/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/ast-ksh/patches/patch-ac   Sat Jan 07 16:15:46 2006 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index