Thanks for doing this, Robert.

On 5/25/07, Robert Connolly <[EMAIL PROTECTED]> wrote:
> 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 is what I'd like to put in BLFS. I'm not sure I agree with
suppressing the .2 man pages. I'd rather they overwrote the man-pages
versions. I've been planning on actually removing the conflicting
pages in LFS.

# Remove later duplicated manpages
rm -vf man1/{chgrp,chmod,chown,cp,dd,df,diff,dir,dircolors,du}.1
rm -vf man1/{install,ln,ls,mkdir,mkfifo,mknod,mv,rm,rmdir,touch,vdir}.1
rm -vf man2/{capget,capset,fgetxattr,flistxattr,fremovexattr,fsetxattr}.2
rm -vf man2/{getxattr,lgetxattr,listxattr,llistxattr,lremovexattr}.2
rm -vf man2/{lsetxattr,removexattr,setxattr}.2
rm -vf man3/getspnam.3 man5/passwd.5

They're probably the same page, though. Anyone else have an opinion on that?

> 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

I like this one, too, but as a separate patch initially.

Do you want to write up the xml for the book?

--
Dan
-- 
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