summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-04-18 18:45:22 -0400
committerMike Frysinger <vapier@gentoo.org>2016-04-18 18:45:22 -0400
commit0f21ee7b64a91e5cdfa620fc5c6233839954415b (patch)
tree2ede56c91abc391264f588d3125ed179ab006dca /sys-fs/cramfs
parentsys-fs/cramfs: convert to EAPI=5 (diff)
downloadgentoo-0f21ee7b64a91e5cdfa620fc5c6233839954415b.tar.gz
gentoo-0f21ee7b64a91e5cdfa620fc5c6233839954415b.tar.bz2
gentoo-0f21ee7b64a91e5cdfa620fc5c6233839954415b.zip
sys-fs/cramfs: fix build w/newer glibc #580196
Diffstat (limited to 'sys-fs/cramfs')
-rw-r--r--sys-fs/cramfs/cramfs-1.1.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys-fs/cramfs/cramfs-1.1.ebuild b/sys-fs/cramfs/cramfs-1.1.ebuild
index 42a69d6f1254..2e22125930fa 100644
--- a/sys-fs/cramfs/cramfs-1.1.ebuild
+++ b/sys-fs/cramfs/cramfs-1.1.ebuild
@@ -17,6 +17,10 @@ IUSE=""
DEPEND="sys-libs/zlib"
RDEPEND="${DEPEND}"
+src_prepare() {
+ sed -i '1i#include <sys/sysmacros.h>' mkcramfs.c || die #580196
+}
+
src_compile() {
emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)"
}