summaryrefslogtreecommitdiff
path: root/sys-fs/zerofree/zerofree-1.1.1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/zerofree/zerofree-1.1.1.ebuild')
-rw-r--r--sys-fs/zerofree/zerofree-1.1.1.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys-fs/zerofree/zerofree-1.1.1.ebuild b/sys-fs/zerofree/zerofree-1.1.1.ebuild
index 6e360c833a18..d234d5d2144f 100644
--- a/sys-fs/zerofree/zerofree-1.1.1.ebuild
+++ b/sys-fs/zerofree/zerofree-1.1.1.ebuild
@@ -17,6 +17,11 @@ DEPEND="sys-libs/e2fsprogs-libs"
RDEPEND="${DEPEND}"
src_prepare() {
+ default
+
+ # Bug #712582, fix compile in musl environments.
+ eapply "${FILESDIR}/${PN}-include-sys_types.patch"
+
# Honor system CFLAGS.
# Use pipes for the sed delimiter to resolve #710818.
sed -i \