tools: bump 7z package to 22.01
authorSander Vanheule <sander@svanheule.net>
Sun, 31 Jul 2022 13:19:29 +0000 (15:19 +0200)
committerSander Vanheule <sander@svanheule.net>
Sun, 31 Jul 2022 13:29:39 +0000 (15:29 +0200)
commit101190419969d7e0084976847bc0608919c04594
tree6fda7d99e266fda257b5207b7726a5f446d2ce3e
parentd94c94d79542558d91c5a5de8d5f594dbafcf3c8
tools: bump 7z package to 22.01

Version 22.00 of 7z causes build failures on systems using GCC 12 with
the following error:

    ../../../../C/LzmaEnc.c: In function 'LzmaEnc_CodeOneMemBlock':
    ../../../../C/LzmaEnc.c:2996:19: error: storing the address of local
    variable 'outStream' in '*p.rc.outStream' [-Werror=dangling-pointer=]
     2996 |   p->rc.outStream = &outStream.vt;
          |   ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    ../../../../C/LzmaEnc.c:2979:28: note: 'outStream' declared here
     2979 |   CLzmaEnc_SeqOutStreamBuf outStream;
          |                            ^~~~~~~~~
    ../../../../C/LzmaEnc.c:2979:28: note: 'pp' declared here

Upgrade to version 22.01 which contains the required fix.

Fixes: 5fcc6f0f1942 ("tools: add 7z host package")
Suggested-by: Tomasz Maciej Nowak <tmn505@gmail.com>
Signed-off-by: Sander Vanheule <sander@svanheule.net>
tools/7z/Makefile