--- libcap-1.10/libcap/cap_sys.c.jj 2003-08-24 19:03:35.524759616 -0700 +++ libcap-1.10/libcap/cap_sys.c 2003-08-24 19:03:48.406801248 -0700 @@ -10,7 +10,7 @@ #include "libcap.h" #define __LIBRARY__ #include - +/* _syscall2(int, capget, cap_user_header_t, header, cap_user_data_t, data) @@ -18,7 +18,7 @@ _syscall2(int, capset, cap_user_header_t, header, const cap_user_data_t, data) - +*/ /* * $Log: libcap-1.10-syscall.patch,v $ * Revision 1.1.1.1 2005/11/30 09:39:11 chriswhite * *** empty log message *** * * Revision 1.2 2003/08/29 06:28:38 cretin * Only add -fPIC for libcap.so objects * * Revision 1.1 2003/08/27 06:10:53 cretin * Added -fPIC for prelink to work, and fixed compile error * * Revision 1.1.1.1 1999/04/17 22:16:31 morgan --- libcap-1.10/libcap/Makefile.jj 2003-08-29 07:19:21.863907872 +0100 +++ libcap-1.10/libcap/Makefile 2003-08-29 07:20:21.562832256 +0100 @@ -61,7 +61,7 @@ ln -sf $(MAJLIBNAME) $(LIBNAME) %.o: %.c $(INCLS) - $(CC) $(CFLAGS) -c $< -o $@ + $(CC) $(CFLAGS) -fPIC -c $< -o $@ install: all mkdir -p -m 0755 $(INCDIR)/sys