From: Michael Tremer Date: Sat, 4 Apr 2009 14:48:48 +0000 (+0200) Subject: Updated libcap2 to 2.16 and fixed a build error. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e99d2f5fc72040532e345c4ef3c4ece55a971750;p=ipfire-3.x.git Updated libcap2 to 2.16 and fixed a build error. --- diff --git a/lfs/libcap2 b/lfs/libcap2 index e0ea2ff52..9f005fe28 100644 --- a/lfs/libcap2 +++ b/lfs/libcap2 @@ -25,7 +25,7 @@ include Config PKG_NAME = libcap -PKG_VER = 2.10 +PKG_VER = 2.16 PKG_REL = 0 THISAPP = $(PKG_NAME)-$(PKG_VER) @@ -80,6 +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 's/--static//' -i.orig progs/Makefile cd $(DIR_APP) && make $(PARALLELISMFLAGS) cd $(DIR_APP) && make install