diff options
author | tv <tv> | 1998-03-05 18:42:25 +0000 |
---|---|---|
committer | tv <tv> | 1998-03-05 18:42:25 +0000 |
commit | d0fd6f0c31d2fc8052c72507e67e7fd93e1a937f (patch) | |
tree | 47f2a74bca6bde47ab56d9f225cf06eb6e8d82f7 /archivers/gcpio | |
parent | c15985beccb10e90f18c4e4376643d731d1127bc (diff) | |
download | pkgsrc-d0fd6f0c31d2fc8052c72507e67e7fd93e1a937f.tar.gz |
Sync with NetBSD changes:
- do not prototype stat() and lstat(); let <sys/stat.h> do that
- main() returns int. not void
gcpio is now up to date with NetBSD's GNU cpio tree.
Diffstat (limited to 'archivers/gcpio')
-rw-r--r-- | archivers/gcpio/patches/patch-ac | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/archivers/gcpio/patches/patch-ac b/archivers/gcpio/patches/patch-ac new file mode 100644 index 00000000000..7808dc3334e --- /dev/null +++ b/archivers/gcpio/patches/patch-ac @@ -0,0 +1,19 @@ +--- filetypes.h.orig Sun Jul 19 01:53:46 1992 ++++ filetypes.h Thu Mar 5 13:20:46 1998 +@@ -80,5 +80,3 @@ + #ifndef S_ISLNK + #define lstat stat + #endif +-int lstat (); +-int stat (); +--- main.c.orig Wed Nov 30 19:24:21 1994 ++++ main.c Thu Mar 5 13:22:28 1998 +@@ -492,7 +492,7 @@ + bzero (zeros_512, 512); + } + +-void ++int + main (argc, argv) + int argc; + char *argv[]; |