diff options
author | Danilo Egea Gondolfo <danilo@FreeBSD.org> | 2015-09-17 00:12:19 +0000 |
---|---|---|
committer | Danilo Egea Gondolfo <danilo@FreeBSD.org> | 2015-09-17 00:12:19 +0000 |
commit | b3ee19566eaacdc5c385b42434babd52f0fa082f (patch) | |
tree | ffa12edaf10f985b7cadb52c2f45ebd33839a584 /archivers/xarchiver/files/patch-src_window.c | |
parent | Support building against LibreSSL and OpenSSL from ports. (diff) |
- Replace '--touch' option with '-m'
- Fix '--use-compress-program' usage with bsdtar where needed
- Improve LZMA detection
- Add missing dependency to zipinfo (required to view contents of ZIP archives)
- Add ARJ and LZO options
- Sort USES
while here
- Add RAR option
PR: 203103
Submitted by: Andriy Voskoboinyk <s3erios@gmail.com>
MFH: 2015Q3
Diffstat (limited to '')
-rw-r--r-- | archivers/xarchiver/files/patch-src_window.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/archivers/xarchiver/files/patch-src_window.c b/archivers/xarchiver/files/patch-src_window.c new file mode 100644 index 000000000000..9b2fe011bf0f --- /dev/null +++ b/archivers/xarchiver/files/patch-src_window.c @@ -0,0 +1,11 @@ +--- src/window.c.orig 2014-09-28 20:42:37 UTC ++++ src/window.c +@@ -1130,7 +1130,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; |