Commit graph

5 commits

Author SHA1 Message Date
Eneas U de Queiroz
0c8ad0cc12
squashfs-tools: need to include sys/sysmacros.h
The inclusion of <sys/sysmacros.h> by <sys/types.h> was deprecated and
removed.  This is causing major, minor, and makedev to be undefined.

The patch is an upstream commit fixing it.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2019-08-18 20:22:42 -07:00
Alexandru Ardelean
401b376b75 squashfs-tools: pull newer version from git repo
squashfs-tools does not provide tar-balls.
It looks like a good time to pull a newer version
that obsoletes a few accepted patches.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-10-27 09:55:23 +03:00
Colby Whitney
5917d336fa squashfs-tools: fix segfault
Unsquashfs was segfaulting.  When examining in gdb the stack was corrupt.
I found that converting the variable length arrays to malloc caused the
stack corruption to not happen and the segfault went away.  This is due to
the musl pthread stack size being 80k by default.  So the chance of a stack
overflow is high.

Signed-off-by: Colby Whitney <colby.whitney@luxul.com>
2017-09-11 08:55:55 -06:00
Alexandru Ardelean
918485e18f squashfs-tools: get inline functions work with both gnu11 and gnu89
Seems that this issue with squashfs-tools was fixed by the guys
at openembedded.
See patch here:
https://github.com/openembedded/openembedded-core/blob/master/meta/recipes-devtools/squashfs-tools/squashfs-tools/0001-mksquashfs.c-get-inline-functions-work-with-C99.patch

I think in my case, this issue appeared because I wrote the Makefile
some time ago and it worked, then when I did the PR for it,
it wasn't working anymore, and I assumed it was still working.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2016-04-05 09:26:35 +03:00
Alexandru Ardelean
d96328eae1 squashfs-tools: bring back package
Picked up the old Makefile at 4.2.
Upgraded at 4.3 (repo move to github now: https://github.com/plougher/squashfs-tools/)
Added musl compatibility.
Enabled LZ4 compression support by default

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2016-01-07 17:52:31 +02:00