diff options
author | John Marino <marino@FreeBSD.org> | 2014-06-05 19:02:33 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2014-06-05 19:02:33 +0000 |
commit | 754d0da771d715c2ed233cf071392c5ebe41dadc (patch) | |
tree | ff9f2e9b27450c21f08956283d67aa98cf35426e /emulators/vmsbackup/files/patch-vmsbackup.c | |
parent | Fix packaging with poudriere in strict (-t) mode. (diff) |
emulators/vmsbackup: Unbreak on F9+
This port really does require infozip, the base unzip fails to
extract with the message, "Invalid central directory signature".
/usr/bin/tar also fails with a similar message.
This source file only needed a couple of minor fixes to build again.
Passes Redports 8x
Notes
Notes:
svn path=/head/; revision=356682
Diffstat (limited to 'emulators/vmsbackup/files/patch-vmsbackup.c')
-rw-r--r-- | emulators/vmsbackup/files/patch-vmsbackup.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/emulators/vmsbackup/files/patch-vmsbackup.c b/emulators/vmsbackup/files/patch-vmsbackup.c new file mode 100644 index 000000000000..6641b9a1e6da --- /dev/null +++ b/emulators/vmsbackup/files/patch-vmsbackup.c @@ -0,0 +1,29 @@ +--- vmsbackup.c.orig 1997-08-13 21:48:43.000000000 +0000 ++++ vmsbackup.c +@@ -55,8 +55,8 @@ + #endif + #ifdef REMOTE + #include <local/rmt.h> +-#include <sys/stat.h> + #endif ++#include <sys/stat.h> + #include <sys/file.h> + + #if 0 +@@ -300,7 +300,7 @@ char *fn; + if(procf && wflag) { + printf("extract %s [ny]",filename); + fflush(stdout); +- gets(ans); ++ fgets(ans, 80, stdin); + if(*ans != 'y') procf = 0; + } + if(procf) +@@ -757,6 +757,7 @@ size_t rsize; + * process a virtual block record (file record) + * + */ ++void + process_vbn(buffer, rsize) + char *buffer; + unsigned short rsize; |