mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
lz4: Update to 1.9.3
- Update lz4 from 1.9.2 to 1.9.3 - Updated rootfile - Removed old patches and updated to new version name - Changelog v1.9.3 perf: highly improved speed in kernel space, by @terrelln perf: faster speed with Visual Studio, thanks to @wolfpld and @remittor perf: improved dictionary compression speed, by @felixhandte perf: fixed LZ4_compress_HC_destSize() ratio, detected by @hsiangkao perf: reduced stack usage in high compression mode, by @Yanpas api : LZ4_decompress_safe_partial() supports unknown compressed size, requested by @jfkthame api : improved LZ4F_compressBound() with automatic flushing, by Christopher Harvie api : can (de)compress to/from NULL without UBs api : fix alignment test on 32-bit systems (state initialization) api : fix LZ4_saveDictHC() in corner case scenario, detected by @IgorKorkin cli : `-l` legacy format is now compatible with `-m` multiple files, by Filipe Calasans cli : benchmark mode supports dictionary, by @rkoradi cli : fix --fast with large argument, detected by @picoHz build: link to user-defined memory functions with LZ4_USER_MEMORY_FUNCTIONS, suggested by Yuriy Levchenko build: contrib/cmake_unofficial/ moved to build/cmake/ build: visual/* moved to build/ build: updated meson script, by @neheb build: tinycc support, by Anton Kochkov install: Haiku support, by Jerome Duval doc : updated LZ4 frame format, clarify EndMark Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
a3ebd7c206
commit
1dbd47ee06
@@ -9,7 +9,7 @@ usr/bin/lz4
|
||||
#usr/lib/liblz4.a
|
||||
#usr/lib/liblz4.so
|
||||
usr/lib/liblz4.so.1
|
||||
usr/lib/liblz4.so.1.9.2
|
||||
usr/lib/liblz4.so.1.9.3
|
||||
#usr/lib/pkgconfig/liblz4.pc
|
||||
#usr/share/man/man1/lz4.1
|
||||
#usr/share/man/man1/lz4c.1
|
||||
|
||||
6
lfs/lz4
6
lfs/lz4
@@ -24,7 +24,7 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 1.9.2
|
||||
VER = 1.9.3
|
||||
|
||||
THISAPP = lz4-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.gz
|
||||
@@ -41,7 +41,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = 3898c56c82fb3d9455aefd48db48eaad
|
||||
$(DL_FILE)_MD5 = 3a1ab1684e14fc1afc66228ce61b2db3
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
@@ -74,7 +74,7 @@ $(subst %,%_MD5,$(objects)) :
|
||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/lz4-1.9.2_mod_install_path.patch
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/lz4-1.9.3_mod_install_path.patch
|
||||
|
||||
cd $(DIR_APP) && make $(MAKETUNING)
|
||||
cd $(DIR_APP) && make install
|
||||
|
||||
@@ -1,36 +0,0 @@
|
||||
diff -Nur lz4-1.8.1.2.orig/lib/Makefile lz4-1.8.1.2/lib/Makefile
|
||||
--- lz4-1.8.1.2.orig/lib/Makefile 2018-01-21 07:24:41.881357925 +0000
|
||||
+++ lz4-1.8.1.2/lib/Makefile 2018-01-21 07:25:44.823444081 +0000
|
||||
@@ -120,7 +120,7 @@
|
||||
# directory variables : GNU conventions prefer lowercase
|
||||
# see https://www.gnu.org/prep/standards/html_node/Makefile-Conventions.html
|
||||
# support both lower and uppercase (BSD), use uppercase in script
|
||||
-prefix ?= /usr/local
|
||||
+prefix ?= /usr
|
||||
PREFIX ?= $(prefix)
|
||||
exec_prefix ?= $(PREFIX)
|
||||
libdir ?= $(exec_prefix)/lib
|
||||
diff -Nur lz4-1.8.1.2.orig/NEWS lz4-1.8.1.2/NEWS
|
||||
--- lz4-1.8.1.2.orig/NEWS 2018-01-21 07:24:41.809360114 +0000
|
||||
+++ lz4-1.8.1.2/NEWS 2018-01-21 07:26:00.838957106 +0000
|
||||
@@ -96,7 +96,7 @@
|
||||
New : lz4 cli supports long commands (suggested by Takayuki Matsuoka)
|
||||
New : lz4frame & lz4cli frame content size support
|
||||
New : lz4frame supports skippable frames, as requested by Sergey Cherepanov
|
||||
-Changed: Default "make install" directory is /usr/local, as notified by Ron Johnson
|
||||
+Changed: Default "make install" directory is /usr, as notified by Ron Johnson
|
||||
New : lz4 cli supports "pass-through" mode, requested by Neil Wilson
|
||||
New : datagen can generate sparse files
|
||||
New : scan-build tests, thanks to kind help by Takayuki Matsuoka
|
||||
diff -Nur lz4-1.8.1.2.orig/programs/Makefile lz4-1.8.1.2/programs/Makefile
|
||||
--- lz4-1.8.1.2.orig/programs/Makefile 2018-01-21 07:24:41.881357925 +0000
|
||||
+++ lz4-1.8.1.2/programs/Makefile 2018-01-21 07:26:24.562235766 +0000
|
||||
@@ -121,7 +121,7 @@
|
||||
# directory variables : GNU conventions prefer lowercase
|
||||
# see https://www.gnu.org/prep/standards/html_node/Makefile-Conventions.html
|
||||
# support both lower and uppercase (BSD), use uppercase in script
|
||||
-prefix ?= /usr/local
|
||||
+prefix ?= /usr
|
||||
PREFIX ?= $(prefix)
|
||||
exec_prefix ?= $(PREFIX)
|
||||
bindir ?= $(exec_prefix)/bin
|
||||
@@ -1,6 +1,6 @@
|
||||
diff -Nur lz4-1.9.2.orig/lib/Makefile lz4-1.9.2/lib/Makefile
|
||||
--- lz4-1.9.2.orig/lib/Makefile 2019-10-29 08:14:03.167415441 +0000
|
||||
+++ lz4-1.9.2/lib/Makefile 2019-10-29 08:14:43.243864994 +0000
|
||||
diff -au lz4-1.9.3/lib/Makefile.orig lz4-1.9.3/lib/Makefile
|
||||
--- lz4-1.9.3/lib/Makefile.orig 2020-11-16 05:59:35.000000000 +0100
|
||||
+++ lz4-1.9.3/lib/Makefile 2021-02-08 13:05:10.478443593 +0100
|
||||
@@ -144,7 +144,7 @@
|
||||
# directory variables : GNU conventions prefer lowercase
|
||||
# see https://www.gnu.org/prep/standards/html_node/Makefile-Conventions.html
|
||||
@@ -10,10 +10,10 @@ diff -Nur lz4-1.9.2.orig/lib/Makefile lz4-1.9.2/lib/Makefile
|
||||
prefix ?= $(PREFIX)
|
||||
EXEC_PREFIX ?= $(prefix)
|
||||
exec_prefix ?= $(EXEC_PREFIX)
|
||||
diff -Nur lz4-1.9.2.orig/programs/Makefile lz4-1.9.2/programs/Makefile
|
||||
--- lz4-1.9.2.orig/programs/Makefile 2019-10-29 08:14:03.177415386 +0000
|
||||
+++ lz4-1.9.2/programs/Makefile 2019-10-29 08:14:30.267268628 +0000
|
||||
@@ -132,7 +132,7 @@
|
||||
diff -au lz4-1.9.3/programs/Makefile.orig lz4-1.9.3/programs/Makefile
|
||||
--- lz4-1.9.3/programs/Makefile.orig 2020-11-16 05:59:35.000000000 +0100
|
||||
+++ lz4-1.9.3/programs/Makefile 2021-02-08 13:05:55.475676260 +0100
|
||||
@@ -146,7 +146,7 @@
|
||||
# directory variables : GNU conventions prefer lowercase
|
||||
# see https://www.gnu.org/prep/standards/html_node/Makefile-Conventions.html
|
||||
# support both lower and uppercase (BSD), use lowercase in script
|
||||
Reference in New Issue
Block a user