trying to emerge net-misc/rsync-3.0.0-r2 fails to build with an error in xattrs.c: xattrs.c: In function ‘send_xattr’: xattrs.c:360: warning: comparison between pointer and integer xattrs.c:374: warning: comparison between signed and unsigned xattrs.c:360: error: label ‘name_len’ used but not defined net-misc/rsync-3.0.0 builds fine. For further information, see the attached build-log
Created attachment 146876 [details] build log for the crash
put this in the right category
I think this is a leopard problem, as I don't have it on Tiger.
Oops, sorry. Missed that not by purpose. Changed now.
Created attachment 146914 [details, diff] Patch for xattrs.c I've dug myself into xattrs.c and found the quite simple build error which came from the fact that one if statment would begin with if( && unless HAVE_LINUX_XATTRS was defined.
Created attachment 146915 [details, diff] new upload of patch (sorry messed the previous one up) sorry for messing up previous patch.
this is a prefix thing, believe me.
this is not a leopard related issue, sorry. You patch doesn't apply for some weird reason. The code looks identical. I'll remake the patch :/
Uff, it doesn't apply? Interesting, it really should... let me know if you happen to find out the difference between your patch and mine.... the change is easy, just move the first && into the #ifdef HAVE_LINUX_XATTRS definition.
yeah, I did that. I looked at it quite long... patch just sometimes is picky. I just remade the patch, and applied it. Compiling for me now with USE=xattr. Thanks!