From 72d2cdfde7bee20c96b82f592ea28d273ff1801b Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Mon, 6 Aug 2012 22:00:25 +0200 Subject: [PATCH] xfsprogs: Fix compilation with newer glibc. --- lfs/xfsprogs | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.39.5