libc/eglibc: Split changeset 3052:06b663f297 into eglibc/libc and eglibc/ports patches
crosstool-ng's glibc patche is made against glibc/libc sub-dir.
changeset 3052:06b663f297 is against glibc top-dir. it needs to split.
Signed-off-by: "Jang, Bongseo" <graycells@gmail.com>
[yann.morin.1998@free.fr: fix the ports patches depth]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-ID: <5040c8e83e35618361dc.1348370890@localhost.localdomain>
PatchWork-ID: 186177
1 diff -urN glibc-2.11-orig/posix/sys/types.h glibc-2.11/posix/sys/types.h
2 --- glibc-2.11-orig/posix/sys/types.h 2010-12-13 11:47:26.000000000 +0100
3 +++ glibc-2.11/posix/sys/types.h 2011-03-29 14:16:00.374064708 +0200
6 # ifndef __daddr_t_defined
7 typedef __daddr_t daddr_t;
8 +# if ! defined(caddr_t) && ! defined(__caddr_t_defined)
9 typedef __caddr_t caddr_t;
10 +# define __caddr_t_defined
12 # define __daddr_t_defined
15 diff -urN glibc-2.11-orig/sunrpc/rpc/types.h glibc-2.11/sunrpc/rpc/types.h
16 --- glibc-2.11-orig/sunrpc/rpc/types.h 2010-12-13 11:47:26.000000000 +0100
17 +++ glibc-2.11/sunrpc/rpc/types.h 2011-03-29 14:16:32.988910439 +0200
20 #ifndef __daddr_t_defined
21 typedef __daddr_t daddr_t;
22 +# if ! defined(caddr_t) && ! defined(__caddr_t_defined)
23 typedef __caddr_t caddr_t;
24 +# define __caddr_t_defined
26 # define __daddr_t_defined