From: Michael Tremer Date: Mon, 6 Aug 2012 20:00:25 +0000 (+0200) Subject: xfsprogs: Fix compilation with newer glibc. X-Git-Tag: v2.13-beta1~307^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=72d2cdfde7bee20c96b82f592ea28d273ff1801b;p=ipfire-2.x.git xfsprogs: Fix compilation with newer glibc. --- diff --git a/lfs/xfsprogs b/lfs/xfsprogs index 0dd83d33af..2a548be832 100644 --- a/lfs/xfsprogs +++ b/lfs/xfsprogs @@ -77,6 +77,9 @@ $(subst %,%_MD5,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && sed -i "/include/a #include " \ + libxfs/xfs_ialloc.c quota/quot.c mdrestore/xfs_mdrestore.c \ + rtcp/xfs_rtcp.c cd $(DIR_APP) && make DEBUG=-DNDEBUG INSTALL_USER=root INSTALL_GROUP=root \ LOCAL_CONFIGURE_OPTIONS="--enable-readline=yes" cd $(DIR_APP) && make install