On Wed, Jan 19, 2011 at 10:42:59AM +0000, Alan Hourihane wrote: > --- shlibs/mount/src/utils.c.old 2010-12-31 18:54:10.000000000 +0000 > +++ shlibs/mount/src/utils.c 2010-12-31 17:17:40.000000000 +0000 > @@ -298,7 +298,11 @@ > { > struct passwd pwd; > struct passwd *res; > +#ifdef _SC_GETPW_R_SIZE_MAX > size_t sz = sysconf(_SC_GETPW_R_SIZE_MAX); > +#else > + size_t sz = 0; > +#endif > char *buf, *username = NULL; I've applied this part. > --- shlibs/blkid/src/topology/ioctl.c.old 2010-12-31 13:52:41.000000000 +0000 > +++ shlibs/blkid/src/topology/ioctl.c 2010-12-31 13:53:11.000000000 +0000 > > --- shlibs/blkid/src/topology/md.c.old 2010-12-31 13:53:57.000000000 +0000 > +++ shlibs/blkid/src/topology/md.c 2010-12-31 13:54:51.000000000 +0000 > --- shlibs/blkid/src/topology/evms.c.old 2010-12-31 13:55:27.000000000 +0000 > +++ shlibs/blkid/src/topology/evms.c 2010-12-31 13:55:42.000000000 +0000 It would be better to disable all these files in topology/Makefile.am (for example by "if !LINUX") and *_tp_idinfo pointers in topology.c. Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html