wok view busybox/stuff/busybox-1.31-zmodules.u @ rev 22042
gcc83-lib-base: do NOT provide gcc-lib-base
Currently BOTH gcc-lib-base and gcc83-lib-base are installed on my SliTaz system. So, with the current (and longstanding) tazpkg limitations I can't update just gcc-lib-base: tazpkg always updates gcc83-lib-base for me instead. Now I can't run Firefox, Vivaldi, Chrome, etc. I think because of gcc-lib-base, but I not sure 1bsolutely.
Currently BOTH gcc-lib-base and gcc83-lib-base are installed on my SliTaz system. So, with the current (and longstanding) tazpkg limitations I can't update just gcc-lib-base: tazpkg always updates gcc83-lib-base for me instead. Now I can't run Firefox, Vivaldi, Chrome, etc. I think because of gcc-lib-base, but I not sure 1bsolutely.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 22 12:55:54 2019 +0300 (2019-10-22) |
parents | |
children |
line source
1 Add LZMA_DEFAULT_MAGIC support
2 --- busybox-1.31/archival/libarchive/open_transformer.c
3 +++ busybox-1.31/archival/libarchive/open_transformer.c
4 @@ -168,6 +168,23 @@
5 * unpack_XXX_stream wants this header skipped. */
6 xstate->signature_skipped = 2;
7 xread(fd, xstate->magic.b16, 2);
8 +#if 1
9 +// SliTaz may use .gz suffix for lzma'd kernel modules
10 +#if BB_BIG_ENDIAN
11 +#define LZMA_DEFAULT_MAGIC 0x5d00
12 +#else
13 +#define LZMA_DEFAULT_MAGIC 0x5d
14 +#endif
15 + if (ENABLE_FEATURE_SEAMLESS_LZMA
16 + && xstate->magic.b16[0] == LZMA_DEFAULT_MAGIC
17 + ) {
18 + xlseek(fd, -xstate->signature_skipped, SEEK_CUR);
19 + xstate->signature_skipped = 0;
20 + xstate->xformer = unpack_lzma_stream;
21 + USE_FOR_NOMMU(xstate->xformer_prog = "unlzma";)
22 + goto found_magic;
23 + }
24 +#endif
25 if (ENABLE_FEATURE_SEAMLESS_GZ
26 && xstate->magic.b16[0] == GZIP_MAGIC
27 ) {