diff options
author | jmmv <jmmv@pkgsrc.org> | 2004-10-16 14:40:23 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2004-10-16 14:40:23 +0000 |
commit | eba65250cc1d5e53e6dfecbb54642f29736694cb (patch) | |
tree | df2395a544c90d2aa388aa00a58627757359781a /sysutils | |
parent | 57d0fdabf813ea335b048852147b39fdf39cce6b (diff) | |
download | pkgsrc-eba65250cc1d5e53e6dfecbb54642f29736694cb.tar.gz |
Make the mntent compatibility layer work properly. It was storing the list
of mounted filesystems in a local variable that was lost between calls to
the emulated getmntinfo function.
I'm not sure if this fixes any visible problem, but it probably should.
The code was randomly reading from memory before (running with debugging
enabled exposed the problem, for example).
Bump PKGREVISION to 3.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/fam/Makefile | 4 | ||||
-rw-r--r-- | sysutils/fam/distinfo | 4 | ||||
-rw-r--r-- | sysutils/fam/patches/patch-ap | 7 |
3 files changed, 8 insertions, 7 deletions
diff --git a/sysutils/fam/Makefile b/sysutils/fam/Makefile index 5d8d1d679e9..cfa64668fa0 100644 --- a/sysutils/fam/Makefile +++ b/sysutils/fam/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.16 2004/10/03 00:18:14 tv Exp $ +# $NetBSD: Makefile,v 1.17 2004/10/16 14:40:23 jmmv Exp $ # DISTNAME= fam-2.7.0 -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= sysutils devel MASTER_SITES= ftp://oss.sgi.com/projects/fam/download/stable/ \ ftp://ftp.tuwien.ac.at/opsys/linux/gentoo/distfiles/ \ diff --git a/sysutils/fam/distinfo b/sysutils/fam/distinfo index ed32da67d71..845c060a0cc 100644 --- a/sysutils/fam/distinfo +++ b/sysutils/fam/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.13 2004/05/04 08:23:38 mrg Exp $ +$NetBSD: distinfo,v 1.14 2004/10/16 14:40:23 jmmv Exp $ SHA1 (fam-2.7.0.tar.gz) = 6c2316f02acf89a41c42ffc3d7fd9cf5eada83a8 Size (fam-2.7.0.tar.gz) = 301974 bytes @@ -14,6 +14,6 @@ SHA1 (patch-ai) = b80aafbb3849fc8c828b6829d8975b910e4d0fd5 SHA1 (patch-aj) = 39391961fd7929d6a5fb49ecb492585cb821afaa SHA1 (patch-ak) = 48ddfcf9b7562832402a464437ca485249d371a1 SHA1 (patch-ao) = 64827309bf91a2018629e28fef20109dde3fbf01 -SHA1 (patch-ap) = aab5c139a5941fab9c570db70c0d170a678872d2 +SHA1 (patch-ap) = 318e99722c78b1120d444d1421f04affc107d028 SHA1 (patch-au) = 6bd507eb448b3fd126042759a3b6f70335401c5b SHA1 (patch-ax) = 950e9fd9de885f653f96aebaafc2269f489e2fad diff --git a/sysutils/fam/patches/patch-ap b/sysutils/fam/patches/patch-ap index 994441e407f..19a2a77129c 100644 --- a/sysutils/fam/patches/patch-ap +++ b/sysutils/fam/patches/patch-ap @@ -1,4 +1,5 @@ -$NetBSD: patch-ap,v 1.6 2004/05/07 12:06:47 cjep Exp $ +$NetBSD: patch-ap,v 1.7 2004/10/16 14:40:23 jmmv Exp $ + --- src/mntent_compat.c++.orig 2004-04-30 14:24:58.000000000 +0200 +++ src/mntent_compat.c++ 2004-04-30 14:28:45.000000000 +0200 @@ -0,0 +1,191 @@ @@ -175,9 +176,9 @@ $NetBSD: patch-ap,v 1.6 2004/05/07 12:06:47 cjep Exp $ +getmntent (FILE *fp) +{ +#ifdef HAVE_SYS_STATVFS_H -+ struct statvfs *mntbuf; ++ static struct statvfs *mntbuf; +#else -+ struct statfs *mntbuf; ++ static struct statfs *mntbuf; +#endif + + if (pos == -1 || mntsize == -1) |