pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/coreutils Make this build under NetBSD 2.0D a...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5eba6734a2b0
branches:  trunk
changeset: 475538:5eba6734a2b0
user:      tron <tron%pkgsrc.org@localhost>
date:      Tue May 18 19:07:57 2004 +0000

description:
Make this build under NetBSD 2.0D and above with statvfs(2).
This fixes PR pkg/25475 Kibum Han.

diffstat:

 sysutils/coreutils/distinfo         |   4 +++-
 sysutils/coreutils/patches/patch-ab |  16 ++++++++++++++++
 sysutils/coreutils/patches/patch-ac |  16 ++++++++++++++++
 3 files changed, 35 insertions(+), 1 deletions(-)

diffs (52 lines):

diff -r c205ad6a9f1f -r 5eba6734a2b0 sysutils/coreutils/distinfo
--- a/sysutils/coreutils/distinfo       Tue May 18 18:32:28 2004 +0000
+++ b/sysutils/coreutils/distinfo       Tue May 18 19:07:57 2004 +0000
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.6 2004/03/29 09:22:50 recht Exp $
+$NetBSD: distinfo,v 1.7 2004/05/18 19:07:57 tron Exp $
 
 SHA1 (coreutils-5.2.1.tar.bz2) = 1028755ae0fa9be840576e4837004cf5a9981c45
 Size (coreutils-5.2.1.tar.bz2) = 4270776 bytes
 SHA1 (patch-aa) = 36c3a4a810bdc9efd7b0c3a6dc4203e0cfcbfae5
+SHA1 (patch-ab) = a38174cf4c85cdddc23f3b59c7c04679c898c232
+SHA1 (patch-ac) = e5db45fbb7f4e424fa7ce5474d99f863b4b46bd2
diff -r c205ad6a9f1f -r 5eba6734a2b0 sysutils/coreutils/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/coreutils/patches/patch-ab       Tue May 18 19:07:57 2004 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-ab,v 1.5 2004/05/18 19:07:57 tron Exp $
+
+--- lib/mountlist.c.orig       2004-01-26 09:58:12.000000000 +0100
++++ lib/mountlist.c    2004-05-18 20:56:57.000000000 +0200
+@@ -173,6 +173,11 @@
+ 
+ #if MOUNTED_GETMNTINFO
+ 
++# if defined(__NetBSD__) && (__NetBSD_Version__ > 200030000)
++# define statfs                               statvfs
++# define HAVE_F_FSTYPENAME_IN_STATFS  1
++# endif
++
+ # if ! HAVE_F_FSTYPENAME_IN_STATFS
+ static char *
+ fstype_to_string (short t)
diff -r c205ad6a9f1f -r 5eba6734a2b0 sysutils/coreutils/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/coreutils/patches/patch-ac       Tue May 18 19:07:57 2004 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-ac,v 1.4 2004/05/18 19:07:58 tron Exp $
+
+--- src/stat.c.orig    2004-02-05 14:46:12.000000000 +0100
++++ src/stat.c 2004-05-18 21:02:54.000000000 +0200
+@@ -86,6 +86,11 @@
+ # endif
+ #endif
+ 
++#if defined(__NetBSD__) && (__NetBSD_Version__ > 200030000)
++#define       statfs                                  statvfs
++#define       STATXFS_FILE_SYSTEM_TYPE_MEMBER_NAME    f_fstypename
++#endif
++
+ #define PROGRAM_NAME "stat"
+ 
+ #define AUTHORS "Michael Meskes"



Home | Main Index | Thread Index | Old Index