diff options
author | Alexey Neyman <stilor@att.net> | 2018-02-05 01:31:20 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-05 01:31:20 (GMT) |
commit | dfcb5fe3c14db5ec291aedb567f1da4ff19f8323 (patch) | |
tree | 95058e425fc942436ab92b3bdd1ca7a282c88ae2 /packages/glibc/2.27/0000-typedef-caddr.patch | |
parent | fd9fe523b22cb6281f26081232a3f8f3aee7fda1 (diff) | |
parent | 79b100707b5ddd14414ea5909f5d8a4788d1d31b (diff) |
Merge pull request #908 from stilor/upgrade2
Bring in GDB 8.1 and glibc 2.27.
Diffstat (limited to 'packages/glibc/2.27/0000-typedef-caddr.patch')
-rw-r--r-- | packages/glibc/2.27/0000-typedef-caddr.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/glibc/2.27/0000-typedef-caddr.patch b/packages/glibc/2.27/0000-typedef-caddr.patch new file mode 100644 index 0000000..980939b --- /dev/null +++ b/packages/glibc/2.27/0000-typedef-caddr.patch @@ -0,0 +1,17 @@ +--- + posix/sys/types.h | 3 +++ + 1 file changed, 3 insertions(+) + +--- a/posix/sys/types.h ++++ b/posix/sys/types.h +@@ -113,7 +113,10 @@ + #ifdef __USE_MISC + # ifndef __daddr_t_defined + typedef __daddr_t daddr_t; ++# if ! defined(caddr_t) && ! defined(__caddr_t_defined) + typedef __caddr_t caddr_t; ++# define __caddr_t_defined ++# endif + # define __daddr_t_defined + # endif + #endif |