summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-bsp/barebox/barebox/0001-lib-lz4-use-lz4-instead-of-lz4c.patch35
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 @@
1From 24839df617aef8099e4d1ba3fc47a04c52c0cf75 Mon Sep 17 00:00:00 2001
2From: Justin Bronder <jsbronder@cold-front.org>
3Date: Wed, 6 Nov 2024 11:59:40 -0500
4Subject: [PATCH] lib: lz4: use lz4 instead of lz4c
5
6lz4c has been considered deprecated by upstream since at least 2018 [1]
7and has been disabled by default recently [2]. openSUSE Tumbleweed is
8no longer packaging the deprecated version and others will likely
9follow.
10
11Going back as far as Ubuntu 16.04/Fedora 25, both lz4 and lz4c are
12installed as part of the same package so switching should be safe.
13
141. https://github.com/lz4/lz4/pull/553
152. https://github.com/lz4/lz4/pull/1479
16
17Upstream-Status: Submitted [http://lists.infradead.org/pipermail/barebox/2024-November/048491.html]
18Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
19---
20 scripts/Makefile.lib | 2 +-
21 1 file changed, 1 insertion(+), 1 deletion(-)
22
23diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
24index 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: %