public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Michael Tremer <michael.tremer@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: [PATCH] xz: update to 5.2.2
Date: Wed, 24 Feb 2016 22:11:21 -0800	[thread overview]
Message-ID: <1456380681.2472.8.camel@ipfire.org> (raw)
In-Reply-To: <1456216648-9541-1-git-send-email-lorenz.marcel@web.de>

[-- Attachment #1: Type: text/plain, Size: 1919 bytes --]

Hi,

On Tue, 2016-02-23 at 09:37 +0100, Marcel Lorenz wrote:
> Update xz to last version from Linux from Scratch.
> 
> Signed-off-by: Marcel Lorenz <marcel.lorenz(a)ipfire.org>
> 
> ---
>  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 b4053d9..8b71758 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 c1d3ef7..c09cb34 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

I am not too happy about these one-line seds. I know that LFS is using
them a lot, but sometimes they do more damage than they help. Patches
would be preferred.

However I won't bitch about this one.

>  	cd $(DIR_APP) && ./configure --prefix=$(PREFIX)
>  	cd $(DIR_APP) && make $(MAKETUNING)
>  	cd $(DIR_APP) && make install

-Michael

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

      reply	other threads:[~2016-02-25  6:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-23  8:37 Marcel Lorenz
2016-02-25  6:11 ` Michael Tremer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1456380681.2472.8.camel@ipfire.org \
    --to=michael.tremer@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox