pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/coreutils Change version check to figure out ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/73852c509115
branches: trunk
changeset: 498639:73852c509115
user: tron <tron%pkgsrc.org@localhost>
date: Sun Aug 28 09:07:21 2005 +0000
description:
Change version check to figure out whether NetBSD supports the statvfs(2)
systen call. We now assumes that it only exists in NetBSD 2.99.x and
newer. This will avoid build problems under the upcoming NetBSD 2.1
release. Mark this package as unusable for NetBSD-2.0[D-H]-* (a few
very old NetBSD-current versions which have statvfs(2) but a version
number smaller than 2.99.x).
diffstat:
sysutils/coreutils/Makefile | 4 +++-
sysutils/coreutils/distinfo | 6 +++---
sysutils/coreutils/patches/patch-ab | 4 ++--
sysutils/coreutils/patches/patch-ac | 4 ++--
4 files changed, 10 insertions(+), 8 deletions(-)
diffs (72 lines):
diff -r 5fa2c7fe308b -r 73852c509115 sysutils/coreutils/Makefile
--- a/sysutils/coreutils/Makefile Sun Aug 28 09:06:14 2005 +0000
+++ b/sysutils/coreutils/Makefile Sun Aug 28 09:07:21 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2005/07/16 01:19:20 jlam Exp $
+# $NetBSD: Makefile,v 1.28 2005/08/28 09:07:21 tron Exp $
DISTNAME= coreutils-5.2.1
PKGREVISION= 1
@@ -10,6 +10,8 @@
HOMEPAGE= http://www.gnu.org/software/coreutils/
COMMENT= GNU basic file, shell and text manipulation utilities
+NOT_FOR_PLATFORM= NetBSD-2.0[D-H]-*
+
BUILD_USES_MSGFMT= YES
CONFLICTS= fileutils-* linuxls-* sh-utils-* textutils-*
diff -r 5fa2c7fe308b -r 73852c509115 sysutils/coreutils/distinfo
--- a/sysutils/coreutils/distinfo Sun Aug 28 09:06:14 2005 +0000
+++ b/sysutils/coreutils/distinfo Sun Aug 28 09:07:21 2005 +0000
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.9 2005/03/21 14:44:08 tv Exp $
+$NetBSD: distinfo,v 1.10 2005/08/28 09:07:21 tron Exp $
SHA1 (coreutils-5.2.1.tar.bz2) = 1028755ae0fa9be840576e4837004cf5a9981c45
RMD160 (coreutils-5.2.1.tar.bz2) = a72bdb360371c026e77281ae0d543bdcce55a4e6
Size (coreutils-5.2.1.tar.bz2) = 4270776 bytes
SHA1 (patch-aa) = 36c3a4a810bdc9efd7b0c3a6dc4203e0cfcbfae5
-SHA1 (patch-ab) = 2fdd6dcccc20038afbb145d10b2988829702b285
-SHA1 (patch-ac) = 982848fe7c82a6601893eed5122de544484b4cf9
+SHA1 (patch-ab) = 630fad1a3b044b99cb8cefeb3518631e71e46db9
+SHA1 (patch-ac) = b7a527c55bba56f01f02692dc113bd912b6e7dce
SHA1 (patch-ad) = 3b61ead0225d17667d27a6a0e379d5aabc75b0df
SHA1 (patch-ae) = 1dda20cdc03336694b2c8dd42de159168de1f28d
SHA1 (patch-af) = cd7deba7a8ecdf17b39668a9d5a80323e1a02c06
diff -r 5fa2c7fe308b -r 73852c509115 sysutils/coreutils/patches/patch-ab
--- a/sysutils/coreutils/patches/patch-ab Sun Aug 28 09:06:14 2005 +0000
+++ b/sysutils/coreutils/patches/patch-ab Sun Aug 28 09:07:21 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.6 2005/03/21 14:44:08 tv Exp $
+$NetBSD: patch-ab,v 1.7 2005/08/28 09:07:21 tron Exp $
--- lib/mountlist.c.orig Mon Jan 26 03:58:12 2004
+++ lib/mountlist.c
@@ -6,7 +6,7 @@
#if MOUNTED_GETMNTINFO
-+# if defined(__NetBSD__) && (__NetBSD_Version__ > 200030000)
++# if defined(__NetBSD__) && (__NetBSD_Version__ > 299000000)
+# define statfs statvfs
+# define HAVE_F_FSTYPENAME_IN_STATFS 1
+# endif
diff -r 5fa2c7fe308b -r 73852c509115 sysutils/coreutils/patches/patch-ac
--- a/sysutils/coreutils/patches/patch-ac Sun Aug 28 09:06:14 2005 +0000
+++ b/sysutils/coreutils/patches/patch-ac Sun Aug 28 09:07:21 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ac,v 1.5 2005/03/21 14:44:08 tv Exp $
+$NetBSD: patch-ac,v 1.6 2005/08/28 09:07:21 tron Exp $
--- src/stat.c.orig Thu Feb 5 08:46:12 2004
+++ src/stat.c
@@ -6,7 +6,7 @@
# endif
#endif
-+#if (defined(__NetBSD__) && (__NetBSD_Version__ > 200030000)) || defined(__INTERIX)
++#if (defined(__NetBSD__) && (__NetBSD_Version__ > 299000000)) || defined(__INTERIX)
+#include <sys/statvfs.h>
+#define statfs statvfs
+#define STATXFS_FILE_SYSTEM_TYPE_MEMBER_NAME f_fstypename
Home |
Main Index |
Thread Index |
Old Index