diff options
-rw-r--r-- | meta/recipes-bsp/barebox/barebox/0001-lib-lz4-use-lz4-instead-of-lz4c.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/meta/recipes-bsp/barebox/barebox/0001-lib-lz4-use-lz4-instead-of-lz4c.patch b/meta/recipes-bsp/barebox/barebox/0001-lib-lz4-use-lz4-instead-of-lz4c.patch deleted file mode 100644 index 55d4a4556b..0000000000 --- a/meta/recipes-bsp/barebox/barebox/0001-lib-lz4-use-lz4-instead-of-lz4c.patch +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | From 24839df617aef8099e4d1ba3fc47a04c52c0cf75 Mon Sep 17 00:00:00 2001 | ||
2 | From: Justin Bronder <jsbronder@cold-front.org> | ||
3 | Date: Wed, 6 Nov 2024 11:59:40 -0500 | ||
4 | Subject: [PATCH] lib: lz4: use lz4 instead of lz4c | ||
5 | |||
6 | lz4c has been considered deprecated by upstream since at least 2018 [1] | ||
7 | and has been disabled by default recently [2]. openSUSE Tumbleweed is | ||
8 | no longer packaging the deprecated version and others will likely | ||
9 | follow. | ||
10 | |||
11 | Going back as far as Ubuntu 16.04/Fedora 25, both lz4 and lz4c are | ||
12 | installed as part of the same package so switching should be safe. | ||
13 | |||
14 | 1. https://github.com/lz4/lz4/pull/553 | ||
15 | 2. https://github.com/lz4/lz4/pull/1479 | ||
16 | |||
17 | Upstream-Status: Submitted [http://lists.infradead.org/pipermail/barebox/2024-November/048491.html] | ||
18 | Signed-off-by: Justin Bronder <jsbronder@cold-front.org> | ||
19 | --- | ||
20 | scripts/Makefile.lib | 2 +- | ||
21 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
22 | |||
23 | diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib | ||
24 | index 1881e3c1..1052bcee 100644 | ||
25 | --- a/scripts/Makefile.lib | ||
26 | +++ b/scripts/Makefile.lib | ||
27 | @@ -492,7 +492,7 @@ cmd_lzo = (cat $(filter-out FORCE,$^) | \ | ||
28 | |||
29 | quiet_cmd_lz4 = LZ4 $@ | ||
30 | cmd_lz4 = (cat $(filter-out FORCE,$^) | \ | ||
31 | - lz4c -l -c1 stdin stdout && $(call size_append, $(filter-out FORCE,$^))) > $@ || \ | ||
32 | + lz4 -l --best stdin stdout && $(call size_append, $(filter-out FORCE,$^))) > $@ || \ | ||
33 | (rm -f $@ ; false) | ||
34 | |||
35 | %.lz4: % | ||