openbsd-ports/archivers/arc/patches/patch-arcunp_c
gsoares 8f400fede0 update archivers/arc to 5.21p
OK jasper@ sthen@
OK wcmaier@ (MAINTAINER) and who wants to drop maintainership
2011-05-23 13:42:10 +00:00

22 lines
696 B
Plaintext

$OpenBSD: patch-arcunp_c,v 1.3 2011/05/23 13:42:10 gsoares Exp $
--- arcunp.c.orig Sat Aug 7 10:06:42 2010
+++ arcunp.c Thu May 19 23:35:46 2011
@@ -122,7 +122,7 @@ unpack(f, t, hdr) /* unpack an archive entry */
break;
default: /* unknown method */
- if (warn) {
+ if (arcwarn) {
printf("I don't know how to unpack file %s\n", hdr->name);
printf("I think you need a newer version of ARC\n");
nerrs++;
@@ -134,7 +134,7 @@ unpack(f, t, hdr) /* unpack an archive entry */
/* cleanups common to all methods */
if (crcval != hdr->crc) {
- if (warn || kludge) {
+ if (arcwarn || kludge) {
printf("WARNING: File %s fails CRC check\n", hdr->name);
nerrs++;
}