Fix, mark unbroken.

This commit is contained in:
angelos 2000-01-03 17:57:32 +00:00
parent 9552afbb49
commit 9239886a2b
2 changed files with 2 additions and 4 deletions

View File

@ -3,12 +3,10 @@
# Date created: 14 June 1997
# Whom: Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>
#
# $OpenBSD: Makefile,v 1.3 1999/11/03 01:19:24 turan Exp $
# $OpenBSD: Makefile,v 1.4 2000/01/03 17:57:32 angelos Exp $
# $FreeBSD: Makefile,v 1.10 1999/01/06 17:11:23 dt Exp $
#
BROKEN= unshlight.c:56: structure has no member named f_type
DISTNAME= Sharity-Light.1.2
PKGNAME= sharity-light-1.2
CATEGORIES= net

View File

@ -50,7 +50,7 @@ main(int argc, char** argv)
char* s;
int error;
if (argc > 0 && strcmp(abspath, mntbuf[i].f_mntonname) != 0) continue;
#if defined(__FreeBSD_version) && __FreeBSD_version > 300000
#if (defined(__FreeBSD_version) && __FreeBSD_version > 300000) || defined(__OpenBSD__)
if (strcmp(mntbuf[i].f_fstypename, "nfs") != 0) continue;
#else
if (mntbuf[i].f_type != MOUNT_NFS) continue;