ports/archivers/arc/files/patch-arcunp.c
Mathieu Arnold 9fa9eb9ac7 Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-26 16:51:15 +00:00

20 lines
589 B
C

--- arcunp.c.orig 2010-08-07 13:06:42 UTC
+++ arcunp.c
@@ -122,7 +122,7 @@ unpack(f, t, hdr) /* unpack an archive
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
/* 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++;
}