mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
869622ad38
Technically, i consider this an excellent work. I've made some efforts to make it easier for people get it actually up & running. This would have required an image of a DOS boot floppy, which we cannot provide. Instead, i wrote a small bootstrap loader (basically a small more(1) clone with builtin text) that can be ``booted'' from. It instructs the user how to get the image of a bootable DOS floppy, and where to find the various files. (The bootstrap loader requires bcc to be recompiled, but i'm providing a gzip'ed/uuencoded version in the files directory as well.) The pkg directory is not yet done. Will follow RSN. :)
55 lines
1.0 KiB
Plaintext
55 lines
1.0 KiB
Plaintext
*** mfs.c.orig Wed Jun 22 16:24:51 1994
|
|
--- mfs.c Tue Jan 24 18:41:20 1995
|
|
***************
|
|
*** 319,325 ****
|
|
--- 319,327 ----
|
|
#include <errno.h>
|
|
#include <sys/param.h>
|
|
#include <stdlib.h>
|
|
+ #if !__STDC__
|
|
#include <malloc.h>
|
|
+ #endif
|
|
|
|
#ifdef SOLARIS
|
|
#include <fcntl.h>
|
|
***************
|
|
*** 327,335 ****
|
|
#endif
|
|
|
|
#if defined(SGI) || defined(RS6000)
|
|
! #include <sys/statfs.h>
|
|
#else
|
|
! #include <sys/vfs.h>
|
|
#endif
|
|
|
|
|
|
--- 329,342 ----
|
|
#endif
|
|
|
|
#if defined(SGI) || defined(RS6000)
|
|
! # include <sys/statfs.h>
|
|
#else
|
|
! # include <sys/param.h>
|
|
! # if BSD >= 199103
|
|
! # include <sys/mount.h>
|
|
! # else
|
|
! # include <sys/vfs.h>
|
|
! # endif /* new BSD */
|
|
#endif
|
|
|
|
|
|
*** mfs.h.orig Wed Jun 22 16:24:51 1994
|
|
--- mfs.h Tue Jan 24 18:37:18 1995
|
|
***************
|
|
*** 45,51 ****
|
|
--- 45,53 ----
|
|
|
|
#include "mfs_link.h"
|
|
|
|
+ #if BSD < 199306 /* newer BSDs have it in <stdio.h> */
|
|
extern char *sys_errlist[];
|
|
+ #endif
|
|
|
|
#if !defined(__hpux) && !defined(SOLARIS) && !defined(SGI) && !defined(RS6000)
|
|
#define strerror(x) sys_errlist[x]
|