Skip to content

Commit b2b3669

Browse files
svanheuleaiamadeus
authored andcommitted
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: 5fcc6f0 ("tools: add 7z host package") Suggested-by: Tomasz Maciej Nowak <[email protected]> Signed-off-by: Sander Vanheule <[email protected]>
1 parent bb2079b commit b2b3669

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/7z/Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
include $(TOPDIR)/rules.mk
22

33
PKG_NAME:=7z
4-
PKG_VERSION:=22.00
5-
PKG_SOURCE_VERSION:=2200
4+
PKG_VERSION:=22.01
5+
PKG_SOURCE_VERSION:=2201
66

77
PKG_SOURCE:=$(PKG_NAME)$(PKG_SOURCE_VERSION)-src.tar.xz
88
PKG_SOURCE_URL:=https://7-zip.org/a/
9-
PKG_HASH:=40969f601e86aff49aaa0ba0df5ce6fd397cf7e2683a84b591b0081e461ef675
9+
PKG_HASH:=393098730c70042392af808917e765945dc2437dee7aae3cfcc4966eb920fbc5
1010

1111
# This builds the 7zr variant which supports only 7z, so no non-LGPL code should be included
1212
PKG_LICENSE:=LGPL-2.1-or-later

0 commit comments

Comments
 (0)