diff options
author | obrien <obrien@FreeBSD.org> | 1997-01-06 08:56:49 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 1997-01-06 08:56:49 +0000 |
commit | b14b9fb69c4f8db13f327ab7487d8f3ee22b502b (patch) | |
tree | 2e71b21113c80d053c573b3ab996869b72d27766 /sysutils/afio/files/patch-ac | |
parent | 5ab80117c7e7817cfd3ed484959cbeb6c4273ad8 (diff) | |
download | FreeBSD-ports-b14b9fb69c4f8db13f327ab7487d8f3ee22b502b.zip FreeBSD-ports-b14b9fb69c4f8db13f327ab7487d8f3ee22b502b.tar.gz |
Upgrade to 2.4.2.
Submitted by: Juergen Lock <nox@jelal.hb.north.de> (w/many organizational
changes by me)
Closes PR: ports/1991
Diffstat (limited to 'sysutils/afio/files/patch-ac')
-rw-r--r-- | sysutils/afio/files/patch-ac | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/sysutils/afio/files/patch-ac b/sysutils/afio/files/patch-ac new file mode 100644 index 0000000..6c22cbc --- /dev/null +++ b/sysutils/afio/files/patch-ac @@ -0,0 +1,46 @@ +--- afio.h.orig Sun Jan 21 04:58:12 1996 ++++ afio.h Mon Jan 6 00:53:13 1997 +@@ -1,5 +1,9 @@ + /* afio.h defines for afio. */ + ++#ifdef HAVE_PARAM_H ++#include <sys/param.h> ++#endif ++ + #ifdef SYSTIME + #include <sys/time.h> + #else /* SYSTIME */ +@@ -107,15 +111,15 @@ + #define PH_SCAN "%6lo%6lo%6lo%6lo%6lo%6lo%6lo%11lo%6o%11lo" + + typedef struct { +-long unsigned int st_dev; +-long unsigned int st_ino; +-long unsigned int st_mode; +-long unsigned int st_uid; +-long unsigned int st_gid; +-long unsigned int st_nlink; +-long unsigned int st_rdev; +-long unsigned int st_mtime; +-long unsigned int st_size; ++long unsigned int PSt_dev; ++long unsigned int PSt_ino; ++long unsigned int PSt_mode; ++long unsigned int PSt_uid; ++long unsigned int PSt_gid; ++long unsigned int PSt_nlink; ++long unsigned int PSt_rdev; ++long unsigned int PSt_mtime; ++long unsigned int PSt_size; + } PStat; + + #define H_STRLEN 70 /* ASCII header string length */ +@@ -388,7 +392,7 @@ + #ifndef MKDIR + int rmdir (); + #endif +-#ifndef linux ++#if !defined (linux) && !(defined(BSD) && (BSD >= 199103)) + VOIDFN (*signal ())(); + #endif + int fswrite (); |