diff options
author | tv <tv> | 1998-03-05 18:42:25 +0000 |
---|---|---|
committer | tv <tv> | 1998-03-05 18:42:25 +0000 |
commit | 723ebaa6ab69478bdb43672b377bd224d9d5d0ca (patch) | |
tree | 47f2a74bca6bde47ab56d9f225cf06eb6e8d82f7 /archivers/gcpio | |
parent | 149da3c09143e1f6ea65c802e9652ec389d52ba5 (diff) | |
download | pkgsrc-723ebaa6ab69478bdb43672b377bd224d9d5d0ca.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[]; |