From: Michael Tremer Date: Sat, 4 Apr 2009 21:37:22 +0000 (+0200) Subject: Fixed building of libcap2. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17147502a3cfc0e1f8970e549a8d78f801296bb0;p=ipfire-3.x.git Fixed building of libcap2. --- diff --git a/lfs/libcap2 b/lfs/libcap2 index 9f005fe28..29d74239c 100644 --- a/lfs/libcap2 +++ b/lfs/libcap2 @@ -80,8 +80,8 @@ $(objects): $(OBJECT): $(objects) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP) && sed -e "s#sys/types.h#linux/types.h#g" \ - -i libcap/include/sys/capability.h + cd $(DIR_APP) && sed -e "s@@&\n#include @g" \ + -i progs/capsh.c cd $(DIR_APP) && sed 's/--static//' -i.orig progs/Makefile cd $(DIR_APP) && make $(PARALLELISMFLAGS) cd $(DIR_APP) && make install