sys-fs/squashfs-tools: fix build with musl
authorFelix Janda <felix.janda@posteo.de>
Sat, 26 Nov 2016 19:33:04 +0000 (14:33 -0500)
committerRobin H. Johnson <robbat2@gentoo.org>
Fri, 3 Feb 2017 21:45:32 +0000 (13:45 -0800)
commit66801d7fecf84023164d5c596c80eaa4fc6f73b2
tree2551b2e07854438c6fd8adb1c673e7abfd07b298
parent007dfd978d4033ac52b47a2157a0f235cbd16254
sys-fs/squashfs-tools: fix build with musl

Add two patches: First patch is essentially from

https://github.com/plougher/squashfs-tools/pull/3

and gives a fallback for missing FNM_EXTMATCH.

The second patch is from

https://github.com/plougher/squashfs-tools/pull/9

and adds the missing include for the S_IF* constants.

Fixes: https://github.com/gentoo/gentoo/pull/2922
Gentoo-Bug: https://bugs.gentoo.org/600934
(cherry picked from commit 56065404e0d3d90f7ee5ce1b759e9044e655de88)
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
sys-fs/squashfs-tools/files/squashfs-tools-4.3-extmatch.patch [new file with mode: 0644]
sys-fs/squashfs-tools/files/squashfs-tools-4.3-musl.patch [new file with mode: 0644]
sys-fs/squashfs-tools/squashfs-tools-4.3-r2.ebuild