Here is an update to lz4 1.10.0.
v1.10.0 cli : multithreading compression support: improves speed by X times threads allocated cli : overlap decompression with i/o, improving speed by ~+60% cli : support environment variables LZ4_CLEVEL and LZ4_NBWORKERS cli : license of CLI more clearly labelled GPL-2.0-or-later cli : fix: refuse to compress directories cli : fix dictionary compression benchmark on multiple files cli : change: no more implicit `stdout` (except when input is `stdin`) lib : new level 2, offering mid-way performance (speed and compression) lib : Improved lz4frame compression speed for small data (up to +160% at 1KB) lib : Slightly faster (+5%) HC compression speed (levels 3-9), by @JunHe77 lib : dictionary compression support now in stable status lib : lz4frame states can be safely reset and reused after a processing error (described by @QrczakMK) lib : `lz4file` API improvements, by @vsolontsov-volant and @t-mat lib : new experimental symbol `LZ4_compress_destSize_extState()` build: cmake minimum version raised to 3.5 build: cmake improvements, by @foxeng, @Ohjurot, @LocalSpook, @teo-tsirpanis, @ur4t and @t-mat build: meson scripts are now hosted into `build/` directory, by @eli-schwartz build: meson improvements, by @tristan957 build: Visual Studio solutions generated by `cmake` via scripts port : support for loongArch, risc-v, m68k, mips and sparc architectures port : improved Visual Studio compatibility, by @t-mat port : freestanding support improvements, by @t-mat Index: Makefile =================================================================== RCS file: /cvs/ports/archivers/lz4/Makefile,v retrieving revision 1.31 diff -u -p -u -p -r1.31 Makefile --- Makefile 16 Aug 2022 19:19:07 -0000 1.31 +++ Makefile 22 Jul 2024 11:30:28 -0000 @@ -2,9 +2,9 @@ COMMENT= fast BSD-licensed data compress GH_ACCOUNT= lz4 GH_PROJECT= lz4 -GH_TAGNAME= v1.9.4 +GH_TAGNAME= v1.10.0 -SHARED_LIBS= lz4 3.2 +SHARED_LIBS= lz4 3.3 CATEGORIES= archivers @@ -15,7 +15,7 @@ MAINTAINER= Bjorn Ketelaars <bket@openbs # library: BSD, tools: GPLv2 PERMIT_PACKAGE= Yes -WANTLIB= c +WANTLIB= c pthread MAKE_FLAGS= CC="${CC}" \ CFLAGS="${CFLAGS} -DLZ4_FORCE_MEMORY_ACCESS=1" \ Index: distinfo =================================================================== RCS file: /cvs/ports/archivers/lz4/distinfo,v retrieving revision 1.19 diff -u -p -u -p -r1.19 distinfo --- distinfo 16 Aug 2022 19:19:07 -0000 1.19 +++ distinfo 22 Jul 2024 11:30:28 -0000 @@ -1,2 +1,2 @@ -SHA256 (lz4-1.9.4.tar.gz) = Cw46oHyMBj3fQLCCvffjehVivaQKD/UnKVfz6Yfg5Us= -SIZE (lz4-1.9.4.tar.gz) = 354063 +SHA256 (lz4-1.10.0.tar.gz) = U3USkEdEs14jKRIFXM+Oxm12hjn/Or5XiNkNeS7F9Is= +SIZE (lz4-1.10.0.tar.gz) = 387114 Index: patches/patch-lib_Makefile =================================================================== RCS file: /cvs/ports/archivers/lz4/patches/patch-lib_Makefile,v retrieving revision 1.14 diff -u -p -u -p -r1.14 patch-lib_Makefile --- patches/patch-lib_Makefile 16 Aug 2022 19:19:07 -0000 1.14 +++ patches/patch-lib_Makefile 22 Jul 2024 11:30:28 -0000 @@ -1,8 +1,8 @@ Index: lib/Makefile --- lib/Makefile.orig +++ lib/Makefile -@@ -195,8 +195,6 @@ install: lib liblz4.pc - $(INSTALL_PROGRAM) dll/$(LIBLZ4_EXP) $(DESTDIR)$(libdir) +@@ -212,8 +212,6 @@ install: lib liblz4.pc + $(INSTALL_PROGRAM) $(LIBLZ4_EXP) $(DESTDIR)$(libdir) else $(INSTALL_PROGRAM) liblz4.$(SHARED_EXT_VER) $(DESTDIR)$(libdir) - $(LN_SF) liblz4.$(SHARED_EXT_VER) $(DESTDIR)$(libdir)/liblz4.$(SHARED_EXT_MAJOR) Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/archivers/lz4/pkg/PLIST,v retrieving revision 1.8 diff -u -p -u -p -r1.8 PLIST --- pkg/PLIST 8 Mar 2022 08:53:49 -0000 1.8 +++ pkg/PLIST 22 Jul 2024 11:30:28 -0000 @@ -3,6 +3,7 @@ bin/lz4c bin/lz4cat bin/unlz4 include/lz4.h +include/lz4file.h include/lz4frame.h include/lz4frame_static.h include/lz4hc.h