summaryrefslogtreecommitdiff
path: root/archivers/zstd/patches/patch-lib_Makefile
AgeCommit message (Collapse)AuthorFilesLines
2022-01-19zstd: updated to 1.5.1adam1-9/+9
v1.5.1 (Dec, 2021) perf: rebalanced compression levels, to better match the intended speed/level curve, by @senhuang42 perf: faster huffman decoder, using x64 assembly, by @terrelln perf: slightly faster high speed modes (strategies fast & dfast), by @felixhandte perf: improved binary size and faster compilation times, by @terrelln perf: new row64 mode, used notably in level 12, by @senhuang42 perf: faster mid-level compression speed in presence of highly repetitive patterns, by @senhuang42 perf: minor compression ratio improvements for small data at high levels, by @cyan4973 perf: reduced stack usage (mostly useful for Linux Kernel), by @terrelln perf: faster compression speed on incompressible data, by @bindhvo perf: on-demand reduced ZSTD_DCtx state size, using build macro ZSTD_DECODER_INTERNAL_BUFFER, at a small cost of performance, by @bindhvo build: allows hiding static symbols in the dynamic library, using build macro, by @skitt build: support for m68k (Motorola 68000's), by @cyan4973 build: improved AIX support, by @Helflym build: improved meson unofficial build, by @eli-schwartz cli : custom memory limit when training dictionary cli : report advanced parameters information when compressing in very verbose mode (``-vv`)
2021-05-20zstd: update to 1.5.0.wiz1-16/+6
v1.5.0 (May 11, 2021) api: Various functions promoted from experimental to stable API: (#2579-2581, @senhuang42) `ZSTD_defaultCLevel()` `ZSTD_getDictID_fromCDict()` api: Several experimental functions have been deprecated and will emit a compiler warning (#2582, @senhuang42) `ZSTD_compress_advanced()` `ZSTD_compress_usingCDict_advanced()` `ZSTD_compressBegin_advanced()` `ZSTD_compressBegin_usingCDict_advanced()` `ZSTD_initCStream_srcSize()` `ZSTD_initCStream_usingDict()` `ZSTD_initCStream_usingCDict()` `ZSTD_initCStream_advanced()` `ZSTD_initCStream_usingCDict_advanced()` `ZSTD_resetCStream()` api: ZSTDMT_NBWORKERS_MAX reduced to 64 for 32-bit environments (@Cyan4973) perf: Significant speed improvements for middle compression levels (#2494, @senhuang42 @terrelln) perf: Block splitter to improve compression ratio, enabled by default for high compression levels (#2447, @senhuang42) perf: Decompression loop refactor, speed improvements on `clang` and for `--long` modes (#2614 #2630, @Cyan4973) perf: Reduced stack usage during compression and decompression entropy stage (#2522 #2524, @terrelln) bug: Improve setting permissions of created files (#2525, @felixhandte) bug: Fix large dictionary non-determinism (#2607, @terrelln) bug: Fix non-determinism test failures on Linux i686 (#2606, @terrelln) bug: Fix various dedicated dictionary search bugs (#2540 #2586, @senhuang42 @felixhandte) bug: Ensure `ZSTD_estimateCCtxSize*() `monotonically increases with compression level (#2538, @senhuang42) bug: Fix --patch-from mode parameter bound bug with small files (#2637, @occivink) bug: Fix UBSAN error in decompression (#2625, @terrelln) bug: Fix superblock compression divide by zero bug (#2592, @senhuang42) bug: Make the number of physical CPU cores detection more robust (#2517, @PaulBone) doc: Improve `zdict.h` dictionary training API documentation (#2622, @terrelln) doc: Note that public `ZSTD_free*()` functions accept NULL pointers (#2521, @animalize) doc: Add style guide docs for open source contributors (#2626, @Cyan4973) tests: Better regression test coverage for different dictionary modes (#2559, @senhuang42) tests: Better test coverage of index reduction (#2603, @terrelln) tests: OSS-Fuzz coverage for seekable format (#2617, @senhuang42) tests: Test coverage for ZSTD threadpool API (#2604, @senhuang42) build: Dynamic library built multithreaded by default (#2584, @senhuang42) build: Move `zstd_errors.h` and `zdict.h` to `lib/` root (#2597, @terrelln) build: Allow `ZSTDMT_JOBSIZE_MIN` to be configured at compile-time, reduce default to 512KB (#2611, @Cyan4973) build: Single file library build script moved to `build/` directory (#2618, @felixhandte) build: `ZBUFF_*()` is no longer built by default (#2583, @senhuang42) build: Fixed Meson build (#2548, @SupervisedThinking @kloczek) build: Fix excessive compiler warnings with clang-cl and CMake (#2600, @nickhutchinson) build: Detect presence of `md5` on Darwin (#2609, @felixhandte) build: Avoid SIGBUS on armv6 (#2633, @bmwiedmann) cli: `--progress` flag added to always display progress bar (#2595, @senhuang42) cli: Allow reading from block devices with `--force` (#2613, @felixhandte) cli: Fix CLI filesize display bug (#2550, @Cyan4973) cli: Fix windows CLI `--filelist` end-of-line bug (#2620, @Cyan4973) contrib: Various fixes for linux kernel patch (#2539, @terrelln) contrib: Seekable format - Decompression hanging edge case fix (#2516, @senhuang42) contrib: Seekable format - New seek table-only API (#2113 #2518, @mdittmer @Cyan4973) contrib: Seekable format - Fix seek table descriptor check when loading (#2534, @foxeng) contrib: Seekable format - Decompression fix for large offsets, (#2594, @azat) misc: Automatically published release tarballs available on Github (#2535, @felixhandte)
2021-04-05zstd: Update to 1.4.9ryoon1-7/+7
Changelog: bug: Use umask() to Constrain Created File Permissions (#2495, @felixhandte) bug: Make Simple Single-Pass Functions Ignore Advanced Parameters (#2498, @terrelln) api: Add (De)Compression Tracing Functionality (#2482, @terrelln) api: Support References to Multiple DDicts (#2446, @senhuang42) api: Add Function to Generate Skippable Frame (#2439, @senhuang42) perf: New Algorithms for the Long Distance Matcher (#2483, @mpu) perf: Performance Improvements for Long Distance Matcher (#2464, @mpu) perf: Don't Shrink Window Log when Streaming with a Dictionary (#2451, @terrelln) cli: Fix --output-dir-mirror's Rejection of ..-Containing Paths (#2512, @felixhandte) cli: Allow Input From Console When -f/--force is Passed (#2466, @felixhandte) cli: Improve Help Message (#2500, @senhuang42) tests: Avoid Using stat -c on NetBSD (#2513, @felixhandte) tests: Correctly Invoke md5 Utility on NetBSD (#2492, @niacat) tests: Remove Flaky Tests (#2455, #2486, #2445, @Cyan4973) build: Zstd CLI Can Now be Linked to Dynamic libzstd (#2457, #2454 @Cyan4973) build: Avoid Using Static-Only Symbols (#2504, @skitt) build: Fix Fuzzer Compiler Detection & Update UBSAN Flags (#2503, @terrelln) build: Explicitly Hide Static Symbols (#2501, @skitt) build: CMake: Enable Only C for lib/ and programs/ Projects (#2498, @concatime) build: CMake: Use configure_file() to Create the .pc File (#2462, @lazka) build: Add Guards for _LARGEFILE_SOURCE and _LARGEFILE64_SOURCE (#2444, @indygreg) build: Improve zlibwrapper Makefile (#2437, @Cyan4973) contrib: Add recover_directory Program (#2473, @terrelln) doc: Change License Year to 2021 (#2452 & #2465, @terrelln & @senhuang42) doc: Fix Typos (#2459, @ThomasWaldmann)
2021-01-03zstd: updated to 1.4.8adam1-25/+25
v1.4.8 hotfix: wrong alignment of an internal buffer v1.4.7 perf: stronger --long mode at high compression levels perf: stronger --patch-from at high compression levels, thanks to --long improvements perf: faster dictionary compression at medium compression levels perf: small speed & memory usage improvements for ZSTD_compress2() perf: improved fast compression speeds with Visual Studio cli : Set nb of threads with environment variable ZSTD_NBTHREADS cli : accept decompressing files with *.zstd suffix cli : provide a condensed summary by default when processing multiple files cli : fix : stdin input no longer confused as user prompt cli : improve accuracy of several error messages api : new sequence ingestion API api : shared thread pool: control total nb of threads used by multiple compression jobs api : new ZSTD_getDictID_fromCDict() api : zlibWrapper only uses public API, and is compatible with dynamic library api : fix : multithreaded compression has predictable output even in special cases api : fix : dictionary compression correctly respects dictionary compression level build: fix cmake script when using path with spaces build: improved compile-time detection of aarch64/neon platforms build: Fix building on AIX 5.1 build: compile paramgrill with cmake on Windows, requested by @mirh doc : clarify repcode updates in format specification v1.4.6 fix : Always return dstSize_tooSmall when that is the case fix : Fix ZSTD_initCStream_advanced() with static allocation and no dictionary perf: Improve small block decompression speed by 20%+ perf: Reduce compression stack usage by 1 KB perf: Improve decompression speed by improving ZSTD_wildcopy perf: Improve histogram construction cli : Add --output-dir-mirror option cli : Warn when (de)compressing multiple files into a single output cli : Improved progress bar and status summary when (de)compressing multiple files cli : Call stat less often cli : Allow --patch-from XXX and --filelist XXX in addition to --patch-from=XXX and --filelist=XXX cli : Allow --patch-from to compress stdin with --stream-size api : Do not install zbuff.h, since it has long been deprecated api : Fix ZSTD_CCtx_setParameter() with ZSTD_c_compressionLevel to make 0 mean default level api : Rename ZSTDMT_NBTHREADS_MAX to ZSTDMT_NBWORKERS_MAX build: Install pkg-config file with CMake and MinGW build: Install DLL with CMake on Windows build: Fix DLL install location with CMake build: Add ZSTD_NO_UNUSED_FUNCTIONS macro to hide unused functions build: Add ZSTD_NO_INTRINSICS macro to avoid explicit intrinsics build: Add STATIC_BMI2 macro for compile time detection of BMI2 on MSVC build: Fix -Wcomma warnings build: Remove distutils requirement for meson build build: Fix cli compilation with uclibc build: Fix cli compilation without st_mtime build: Fix shadowing warnings in library build: Fix single file library compilation with Enscripten misc: Improve single file library and include dictBuilder misc: Allow compression dictionaries with missing symbols misc: Add freestanding translation script in contrib/freestanding_lib misc: Collect all of zstd's libc dependencies into zstd_deps.h doc : Add ZSTD_versionString() to manual doc : Fix documentation for ZSTD_CCtxParams_setParameter()
2020-10-01zstd: fix library detection with GNU make 4.3mcf1-10/+13
GNU make 4.3 no longer uses \ to escape # found inside function invocations, so the \ gets passed through to the printf commands, causing library detection to fail. lib/Makefile is patched on pkgsrc by copying detection logic from programs/Makefile, which has since been updated[0] to support make 4.3 using the compatibility trick suggested in the GNU make changelog. In particular, since we modify programs/Makefile to link the zstd binary with the libzstd shared library, failure to detect pthread in lib/Makefile results in a zstd built with ZSTD_MULTITHREAD to be linked against a libzstd built without it. This causes "Unsupported parameter" errors when it is used (except with --single-thread). So, apply the fix for programs/Makefile to lib/Makefile as well. [0] https://github.com/facebook/zstd/commit/06a57cf57e3c4e887cadcf688e3081154f3f6db4
2020-06-14zstd: updated to 1.4.5adam1-14/+14
Zstd v1.4.5 Release Notes This is a fairly important release which includes performance improvements and new major CLI features. It also fixes a few corner cases, making it a recommended upgrade. perf: Improved decompression speed (x64 >+5%, ARM >+15%), by @terrelln perf: Automatically downsizes ZSTD_DCtx when too large for too long perf: Improved fast compression speed on aarch64 perf: Small level 1 compression speed gains (depending on compiler) fix: Compression ratio regression on huge files (> 3 GB) using high levels (--ultra) and multithreading, by @terrelln api: ZDICT_finalizeDictionary() is promoted to stable api: new experimental parameter ZSTD_d_stableOutBuffer build: Generate a single-file libzstd library build: Relative includes, no longer require -I flags for zstd lib subdirs build: zstd now compiles cleanly under -pedantic build: zstd now compiles with make-4.3 build: Support mingw cross-compilation from Linux, by @Ericson2314 build: Meson multi-thread build fix on windows build: Some misc icc fixes backed by new ci test on travis cli: New --patch-from command, create and apply patches from files, by @bimbashreshta cli: --filelist= : Provide a list of files to operate upon from a file cli: -b can now benchmark multiple files in decompression mode cli: New --no-content-size command cli: New --show-default-cparams command misc: new diagnosis tool, checked_flipped_bits, in contrib/, by @felixhandte misc: Extend largeNbDicts benchmark to compression misc: experimental edit-distance match finder in contrib/ doc: Improved beginner CONTRIBUTING.md docs doc: New issue templates for zstd
2018-10-22zstd: updated to 1.3.7adam1-5/+58
Zstandard v1.3.7 perf: slightly better decompression speed on clang (depending on hardware target) fix: ratio for dictionary compression at levels 9 and 10, reported by @indygreg build: no longer build backtrace by default in release mode; restrict further automatic mode build: control backtrace support through build macro BACKTRACE misc: added man pages for zstdless and zstdgrep, by @samrussell
2018-10-07zstd: updated to 1.3.6adam1-6/+6
Zstandard v1.3.6 release is focused on intensive dictionary compression for database scenarios. This is a new environment we are experimenting. The success of dictionary compression on small data, of which databases tend to store plentiful, led to increased adoption, and we now see scenarios where literally thousands of dictionaries are being used simultaneously, with permanent generation or update of new dictionaries.
2018-07-03zstd: updated to 1.3.5adam1-4/+18
Zstandard v1.3.5 is a maintenance release focused on dictionary compression performance.
2017-10-20zstd: update to 1.3.2adam1-7/+7
v1.3.2 new : long range mode, using --long command new : ability to generate and decode magicless frames changed : maximum nb of threads reduced to 200, to avoid address space exhaustion in 32-bits mode fix : multi-threading compression works with custom allocators fix : ZSTD_sizeof_CStream() was over-evaluating memory usage fix : a rare compression bug when compression generates very large distances and bunch of other conditions (only possible at --ultra -22) fix : 32-bits build can now decode large offsets (levels 21+) cli : added LZ4 frame support by default cli : improved --list output cli : new : can split input file for dictionary training, using command -B# cli : new : clean operation artefact on Ctrl-C interruption cli : fix : do not change /dev/null permissions when using command -t with root access cli : fix : write file size in header in multiple-files mode api : added macro ZSTD_COMPRESSBOUND() for static allocation api : experimental : new advanced decompression API api : fix : sizeof_CCtx() used to over-estimate build: fix : no-multithread variant compiles without pool.c dependency build: better compatibility with reproducible builds example : added streaming_memory_usage license : changed /examples license to BSD + GPLv2 license : fix a few header files to reflect new license
2017-02-22Updated zstd to 1.1.3.wiz1-0/+18
v1.1.3 cli : zstd can decompress .gz files (can be disabled with `make zstd-nogz` or `make HAVE_ZLIB=0`) cli : new : experimental target `make zstdmt`, with multi-threading support cli : new : improved dictionary builder "cover" (experimental), by Nick Terrell cli : new : advanced commands for detailed parameters, by Przemyslaw Skibinski cli : fix zstdless on Mac OS-X, by Andrew Janke cli : fix #232 "compress non-files" dictBuilder : improved dictionary generation quality, thanks to Nick Terrell API : new : lib/compress/ZSTDMT_compress.h multithreading API (experimental) API : new : ZSTD_create?Dict_byReference(), requested by Bartosz Taudul API : new : ZDICT_finalizeDictionary() API : fix : ZSTD_initCStream_usingCDict() properly writes dictID into frame header, by Gregory Szorc (#511) API : fix : all symbols properly exposed in libzstd, by Nick Terrell build : support for Solaris target, by Przemyslaw Skibinski doc : clarified specification, by Andrew Purcell
2016-10-04Updated zstd to 1.1.0.wiz1-16/+0
v1.1.0 New : contrib/pzstd, parallel version of zstd, by Nick Terrell added : NetBSD install target (#338) Improved : speed for batches of small files Improved : speed of zlib wrapper, by Przemyslaw Skibinski Changed : libzstd on Windows supports legacy formats, by Christophe Chevalier Fixed : CLI -d output to stdout by default when input is stdin (#322) Fixed : CLI correctly detects console on Mac OS-X Fixed : CLI supports recursive mode `-r` on Mac OS-X Fixed : Legacy decoders use unified error codes, reported by benrg (#341), fixed by Przemyslaw Skibinski Fixed : compatibility with OpenBSD, reported by Juan Francisco Cantero Hurtado (#319) Fixed : compatibility with Hurd, by Przemyslaw Skibinski (#365) Fixed : zstd-pgo, reported by octoploid (#329)
2016-09-04Add upstream pull request.wiz1-1/+2
2016-09-04Import zstd-1.0.0 as archivers/zstd.wiz1-0/+15
Zstd, short for Zstandard, is a fast lossless compression algorithm, targeting real-time compression scenarios at zlib-level and better compression ratios.