adosfs support has been removed; remove it here as well to let this build.

This commit is contained in:
steven 2007-06-06 11:39:53 +00:00
parent 6ad2f4d591
commit a9ba7f86ae
2 changed files with 34 additions and 1 deletions

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.7 2002/08/07 18:31:33 wcobb Exp $
# $OpenBSD: Makefile,v 1.8 2007/06/06 11:39:53 steven Exp $
COMMENT= "stand-alone shell with built-in commands"
VERSION= 3.6
DISTNAME= sash-${VERSION}
PKGNAME= ${DISTNAME}p0
CATEGORIES= shells
HOMEPAGE= http://www.canb.auug.org.au/~dbell/

View File

@ -0,0 +1,32 @@
$OpenBSD: patch-cmds_c,v 1.4 2007/06/06 11:39:53 steven Exp $
--- cmds.c.orig Wed Jun 6 13:34:53 2007
+++ cmds.c Wed Jun 6 13:36:16 2007
@@ -594,7 +594,6 @@ do_mount(int argc, const char ** argv)
#elif HAVE_BSD_MOUNT
{
struct ufs_args ufs;
- struct adosfs_args adosfs;
struct iso_args iso;
struct mfs_args mfs;
struct msdosfs_args msdosfs;
@@ -603,11 +602,6 @@ do_mount(int argc, const char ** argv)
if(!strcmp(type, "ffs") || !strcmp(type, "ufs")) {
ufs.fspec = (char*) argv[0];
args = &ufs;
- } else if(!strcmp(type, "adosfs")) {
- adosfs.fspec = (char*) argv[0];
- adosfs.uid = 0;
- adosfs.gid = 0;
- args = &adosfs;
} else if(!strcmp(type, "cd9660")) {
iso.fspec = (char*) argv[0];
args = &iso;
@@ -622,7 +616,7 @@ do_mount(int argc, const char ** argv)
} else {
fprintf(stderr, "Unknown filesystem type: %s", type);
fprintf(stderr,
- "Supported: ffs ufs adosfs cd9660 mfs msdos\n");
+ "Supported: ffs ufs cd9660 mfs msdos\n");
return;
}