From 962fade2d4714d4c8d5e26b841e4a87c96f92845 Mon Sep 17 00:00:00 2001 From: Marcel Lorenz Date: Tue, 23 Feb 2016 09:37:28 +0100 Subject: [PATCH] xz: update to 5.2.2 Update xz to last version from Linux from Scratch. Signed-off-by: Marcel Lorenz Signed-off-by: Michael Tremer --- config/rootfiles/common/xz | 2 +- lfs/xz | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/config/rootfiles/common/xz b/config/rootfiles/common/xz index b4053d9b71..8b71758ffe 100644 --- a/config/rootfiles/common/xz +++ b/config/rootfiles/common/xz @@ -41,7 +41,7 @@ usr/bin/xzmore #usr/lib/liblzma.la usr/lib/liblzma.so usr/lib/liblzma.so.5 -usr/lib/liblzma.so.5.2.1 +usr/lib/liblzma.so.5.2.2 #usr/lib/pkgconfig/liblzma.pc #usr/share/doc/xz #usr/share/doc/xz/AUTHORS diff --git a/lfs/xz b/lfs/xz index c1d3ef7890..c09cb34486 100644 --- a/lfs/xz +++ b/lfs/xz @@ -24,7 +24,7 @@ include Config -VER = 5.2.1 +VER = 5.2.2 THISAPP = xz-$(VER) DL_FILE = $(THISAPP).tar.xz @@ -47,7 +47,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = b5e2dd95dc8498cea5354377ed89aa65 +$(DL_FILE)_MD5 = e26772b69940085c0632589ab1d52e64 install : $(TARGET) @@ -77,6 +77,7 @@ $(subst %,%_MD5,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && sed -e '/mf\.buffer = NULL/a next->coder->mf.size = 0;' -i src/liblzma/lz/lz_encoder.c cd $(DIR_APP) && ./configure --prefix=$(PREFIX) cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install -- 2.39.5