The latest uClibc-0.9.29 patch grabbed from buildroot is buggy wrt a type (__ulong_t does not exist, while __u_long does). Fix that.
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Jul 23 20:56:29 2007 +0000 (2007-07-23)
changeset 29164c57f736ec3
parent 290 37e0b2562753
child 292 47af51144184
The latest uClibc-0.9.29 patch grabbed from buildroot is buggy wrt a type (__ulong_t does not exist, while __u_long does). Fix that.
patches/uClibc/0.9.29/000-fix-mmap.patch
     1.1 --- a/patches/uClibc/0.9.29/000-fix-mmap.patch	Mon Jul 23 19:49:35 2007 +0000
     1.2 +++ b/patches/uClibc/0.9.29/000-fix-mmap.patch	Mon Jul 23 20:56:29 2007 +0000
     1.3 @@ -84,7 +84,7 @@
     1.4  +                         fd,((__u_quad_t)offset >> MMAP2_PAGE_SHIFT));
     1.5  +#else
     1.6  +   return __syscall_mmap2(addr, len, prot, flags,
     1.7 -+                          fd,((__ulong_t)offset >> MMAP2_PAGE_SHIFT));
     1.8 ++                          fd,((__u_long)offset >> MMAP2_PAGE_SHIFT));
     1.9  +#endif
    1.10   }
    1.11