diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-01-19 11:41:05 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-01-20 11:57:29 +0000 |
commit | ca9cb6e4eea8282d3922e5142ecd325dfa5a5781 (patch) | |
tree | f2eade2edbe58d5c00f55d131f64b9a88607a8de /meta/recipes-extended | |
parent | 051dda511bc73c4a069c187c8cd03e7e9cc3533e (diff) | |
download | poky-ca9cb6e4eea8282d3922e5142ecd325dfa5a5781.tar.gz |
pigz: upgrade 2.6 -> 2.7
(From OE-Core rev: 556b9208ba182143c33d29225d8aba84654231e1)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r-- | meta/recipes-extended/pigz/files/0001-Fix-bug-when-combining-l-with-d.patch | 50 | ||||
-rw-r--r-- | meta/recipes-extended/pigz/pigz_2.7.bb (renamed from meta/recipes-extended/pigz/pigz_2.6.bb) | 5 |
2 files changed, 2 insertions, 53 deletions
diff --git a/meta/recipes-extended/pigz/files/0001-Fix-bug-when-combining-l-with-d.patch b/meta/recipes-extended/pigz/files/0001-Fix-bug-when-combining-l-with-d.patch deleted file mode 100644 index 9c301f2054..0000000000 --- a/meta/recipes-extended/pigz/files/0001-Fix-bug-when-combining-l-with-d.patch +++ /dev/null | |||
@@ -1,50 +0,0 @@ | |||
1 | From 65986f3d12d434b9bc428ceb6fcb1f6eeeb2c47d Mon Sep 17 00:00:00 2001 | ||
2 | From: Changqing Li <changqing.li@windriver.com> | ||
3 | Date: Mon, 17 Jan 2022 15:36:56 +0800 | ||
4 | Subject: [PATCH] Fix bug when combining -l with -d. | ||
5 | |||
6 | Though it makes no sense to do pigz -ld, that is implicit when | ||
7 | doing unpigz -l. This commit fixes a bug for that combination. | ||
8 | |||
9 | Upstream-Status: Backport [https://github.com/madler/pigz/commit/326bba44aa102c707dd6ebcd2fc3f413b3119db0] | ||
10 | |||
11 | Signed-off-by: Changqing Li <changqing.li@windriver.com> | ||
12 | --- | ||
13 | pigz.c | 14 +++++++------- | ||
14 | 1 file changed, 7 insertions(+), 7 deletions(-) | ||
15 | |||
16 | diff --git a/pigz.c b/pigz.c | ||
17 | index f90157f..d648216 100644 | ||
18 | --- a/pigz.c | ||
19 | +++ b/pigz.c | ||
20 | @@ -4007,6 +4007,13 @@ local void process(char *path) { | ||
21 | } | ||
22 | SET_BINARY_MODE(g.ind); | ||
23 | |||
24 | + // if requested, just list information about the input file | ||
25 | + if (g.list && g.decode != 2) { | ||
26 | + list_info(); | ||
27 | + load_end(); | ||
28 | + return; | ||
29 | + } | ||
30 | + | ||
31 | // if decoding or testing, try to read gzip header | ||
32 | if (g.decode) { | ||
33 | in_init(); | ||
34 | @@ -4048,13 +4055,6 @@ local void process(char *path) { | ||
35 | } | ||
36 | } | ||
37 | |||
38 | - // if requested, just list information about input file | ||
39 | - if (g.list) { | ||
40 | - list_info(); | ||
41 | - load_end(); | ||
42 | - return; | ||
43 | - } | ||
44 | - | ||
45 | // create output file out, descriptor outd | ||
46 | if (path == NULL || g.pipeout) { | ||
47 | // write to stdout | ||
48 | -- | ||
49 | 2.17.1 | ||
50 | |||
diff --git a/meta/recipes-extended/pigz/pigz_2.6.bb b/meta/recipes-extended/pigz/pigz_2.7.bb index d490a6a722..9a1c591b27 100644 --- a/meta/recipes-extended/pigz/pigz_2.6.bb +++ b/meta/recipes-extended/pigz/pigz_2.7.bb | |||
@@ -8,9 +8,8 @@ SECTION = "console/utils" | |||
8 | LICENSE = "Zlib & Apache-2.0" | 8 | LICENSE = "Zlib & Apache-2.0" |
9 | LIC_FILES_CHKSUM = "file://pigz.c;md5=9ae6dee8ceba9610596ed0ada493d142;beginline=7;endline=21" | 9 | LIC_FILES_CHKSUM = "file://pigz.c;md5=9ae6dee8ceba9610596ed0ada493d142;beginline=7;endline=21" |
10 | 10 | ||
11 | SRC_URI = "http://zlib.net/${BPN}/fossils/${BP}.tar.gz \ | 11 | SRC_URI = "http://zlib.net/${BPN}/fossils/${BP}.tar.gz" |
12 | file://0001-Fix-bug-when-combining-l-with-d.patch" | 12 | SRC_URI[sha256sum] = "b4c9e60344a08d5db37ca7ad00a5b2c76ccb9556354b722d56d55ca7e8b1c707" |
13 | SRC_URI[sha256sum] = "2eed7b0d7449d1d70903f2a62cd6005d262eb3a8c9e98687bc8cbb5809db2a7d" | ||
14 | PROVIDES:class-native += "gzip-native" | 13 | PROVIDES:class-native += "gzip-native" |
15 | 14 | ||
16 | # Point this at the homepage in case /fossils/ isn't updated | 15 | # Point this at the homepage in case /fossils/ isn't updated |