summaryrefslogtreecommitdiff
path: root/archivers/lrzip/patches/patch-lrzip__private.h
diff options
context:
space:
mode:
authorwiedi <wiedi@pkgsrc.org>2015-06-08 14:58:09 +0000
committerwiedi <wiedi@pkgsrc.org>2015-06-08 14:58:09 +0000
commitf86fd7cf2313b6ab9f5f70e3ebba4415ccc8f25b (patch)
treeb184c763b3fcf07a089093d5df6caf78c5f672ed /archivers/lrzip/patches/patch-lrzip__private.h
parent8e195385c66f84af6ac2ae45290c3c7c9157f3e6 (diff)
downloadpkgsrc-f86fd7cf2313b6ab9f5f70e3ebba4415ccc8f25b.tar.gz
Update lrzip to 0.621, provided by Thomas Merkel
Changes: MARCH 2015, version 0.621 Con Kolivas, Peter Hyman * Fix libzpaq.cpp warnings * Fix warnings in LzmaLib.c * Making the high buffer only one page size is faster for sliding mmap mode * Fix incompatible log callback in liblrzip * Use PRId64 instead of lld in fscanf * Use int64_t for i64 * Fix ISO C warning in lrzip.c * Fix ISO C warning in lrzip.c * Fix ISO C warning in runzip.c * Fix ISO C warnings in rzip.c * Fix iso c warning in util.c * Fix EOL to unix on libzpaq * control->tmpdir fixes * Null terminate long options to find unhandled options * Trivial date * Add long option support * Brace failure lead to broken dump to stdout * fflush messages on print_err * Fix inverse logic * Honour the proper unix environment variable for temporary directory and then try variations * Attempt to decompress file in ram only if we are unable to create temporary files when decompressing to stdout * Avoid checking return values repeatedly on compress that only lead to failures anyway * Microoptimisation * Don't check for failure condition that can no longer occur * Don't check twice for failure conditions that are fatal in hot paths * Cache the chunk bytes value to avoid setting it on each read_header call * fake_mremap is only used when defined to mremap * Remove unused cksem functions * Fix remaining use of mutexes lock/unlocking in different threads with cksems, corecting cksem usage on osx * Update copyright dates * Make match_len a function completely removing all indirect calls to get_sb, significantly speeding up the single_get_sb case * Make full_tag a pointer allowing us to avoid a function call for get_sb * Call sliding_get_sb directly in sliding_next_tag * Make next_tag a pointer to allow ordinary mapping to avoid an extra function call * fix order of lrzip.conf search MARCH 2015, version 0.620 Con Kolivas, Peter Hyman, Chris Spiegel, Elmir Jagudin * Increase maxram when we abandon use of temporary input/output buffers * Don't delete the tmpinfile when decompressing from stdin before allowing seek to end to succeed in checking md5 * Use temporary file from read_seekto when STDIN will not fit in the ram input buffer * Remove unused read_i64 function * Add message about issue tracker in BUGS * Use a common exit path iin lrzip_compress/decompress and fix lr leak on successful return * Fix parenthesis placement inside of unlikely(). * Clear sa_mask and sa_handler before calling sigaction(). * Fix for lrzip -i. Decompressed size wrong * added '-m' command line option * Fix wrong README file being included in Makefile * Pass strict sizes to decompress length, rounding up only the amount we're allocating to not confuse decompression libraries * Convert the thread locking to use cksems * Add cksems to util.h * Fix 'Failed to malloc ckbuf in hash_search2' with very large files. * Round up compression and decompression buffers to page size since malloc will allocate them that large anyway. * Increase the compressed buffer size given to libzpaq in case of incompressible data since it does not check if it's trying to write beyond the end of the buffer. * Provide a helper function to round a value up to the nearest page size for malloc optimisations.
Diffstat (limited to 'archivers/lrzip/patches/patch-lrzip__private.h')
-rw-r--r--archivers/lrzip/patches/patch-lrzip__private.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/archivers/lrzip/patches/patch-lrzip__private.h b/archivers/lrzip/patches/patch-lrzip__private.h
index d6741569c16..847ce457430 100644
--- a/archivers/lrzip/patches/patch-lrzip__private.h
+++ b/archivers/lrzip/patches/patch-lrzip__private.h
@@ -1,8 +1,8 @@
-$NetBSD: patch-lrzip__private.h,v 1.1 2013/11/08 21:14:02 joerg Exp $
+$NetBSD: patch-lrzip__private.h,v 1.2 2015/06/08 14:58:09 wiedi Exp $
---- lrzip_private.h.orig 2013-11-08 20:52:44.000000000 +0000
+--- lrzip_private.h.orig 2015-03-10 09:25:42.000000000 +0000
+++ lrzip_private.h
-@@ -139,7 +139,7 @@ extern int errno;
+@@ -140,7 +140,7 @@ extern int errno;
#define unlikely(x) __builtin_expect(!!(x), 0)
#define __maybe_unused __attribute__((unused))