This patch is the minimal patch to build libcap without warnings or 
overwriting manuals installed by man-pages, and with correct library 
permissions and flags:
http://www.linuxfromscratch.org/~robert/new/libcap/libcap-1.10-blfs.diff9

This one is for '-Wextra' warnings, such as unused parameters and comparison 
between signed and unsigned:
http://www.linuxfromscratch.org/~robert/new/libcap/libcap-1.10-wextra.diff

This one for '-Wconversion'... "passing argument 3 of 'memset' as unsigned due 
to prototype" warnings:
http://www.linuxfromscratch.org/~robert/new/libcap/libcap-1.10-wconversion.diff

And this one replaces sprintf with snprintf, and adds some extra sanity:
http://www.linuxfromscratch.org/~robert/new/libcap/libcap-1.10-bounds.diff

The first three need to be applied in sequence.

robert

Attachment: pgpxRRWfMuOL3.pgp
Description: PGP signature

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to