--- lib/fs.c.orig Wed Jun 14 21:34:30 2000 +++ lib/fs.c Tue Mar 20 22:24:58 2001 @@ -12,6 +12,11 @@ /*@only@*/ /*@null@*/ static const char ** fsnames = NULL; static int numFilesystems = 0; +/* dummy getmntent() for FreeBSD */ +our_mntent *getmntent(FILE *filep) { + return NULL; +} + void freeFilesystems(void) { if (filesystems) { @@ -129,8 +134,10 @@ # if GETMNTENT_ONE || GETMNTENT_TWO mtab = fopen(MOUNTED, "r"); if (!mtab) { +/* rpmError(RPMERR_MTAB, _("failed to open %s: %s"), MOUNTED, strerror(errno)); +*/ return 1; } # elif HAVE_GETMNTINFO_R