ports/archivers/xarchiver/files/patch-src_window.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

11 lines
478 B
C

--- src/window.c.orig 2016-07-19 21:54:07 UTC
+++ src/window.c
@@ -1181,7 +1181,7 @@ XArchiveType xa_detect_archive_type (gch
xx = XARCHIVETYPE_BZIP2;
else if (memcmp ( magic,"\x1f\x8b",2) == 0 || memcmp ( magic,"\x1f\x9d",2) == 0)
xx = XARCHIVETYPE_GZIP;
- else if (memcmp ( magic,"\x5d\x00\x00\x80",4) == 0)
+ else if (memcmp ( magic,"\x5d\x00\x00",3) == 0)
xx = XARCHIVETYPE_LZMA;
else if (memcmp ( magic,"\xfd\x37\x7a\x58\x5a",5) == 0)
xx = XARCHIVETYPE_XZ;