summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-04-19 02:31:43 -0400
committerMike Frysinger <vapier@gentoo.org>2016-04-19 02:31:43 -0400
commit3171c0d2f8f47d9e37cffb55ec346ca14806f750 (patch)
tree6309e860af6b76e6835039738666077e1e8566cc /sys-fs/ufsutils
parentsys-fs/ext4magic: fix building w/newer glibc #580192 (diff)
downloadgentoo-3171c0d2f8f47d9e37cffb55ec346ca14806f750.tar.gz
gentoo-3171c0d2f8f47d9e37cffb55ec346ca14806f750.tar.bz2
gentoo-3171c0d2f8f47d9e37cffb55ec346ca14806f750.zip
sys-fs/ufsutils: fix build w/newer glibc #580292
Diffstat (limited to 'sys-fs/ufsutils')
-rw-r--r--sys-fs/ufsutils/ufsutils-8.2_p3.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys-fs/ufsutils/ufsutils-8.2_p3.ebuild b/sys-fs/ufsutils/ufsutils-8.2_p3.ebuild
index ede8bde27a2d..b840bf328532 100644
--- a/sys-fs/ufsutils/ufsutils-8.2_p3.ebuild
+++ b/sys-fs/ufsutils/ufsutils-8.2_p3.ebuild
@@ -27,6 +27,8 @@ src_prepare() {
EPATCH_SOURCE="${WORKDIR}/debian/patches" EPATCH_SUFFIX="patch" \
EPATCH_OPTS="-p1" EPATCH_FORCE="yes" epatch
+ sed -i '1i#include <sys/sysmacros.h>' sbin/fsdb/fsdbutil.c || die #580292
+
# growfs is not properly ported
sed -e "s:sbin/growfs::" -i Makefile