diff options
author | Chris Packham <judge.packham@gmail.com> | 2019-09-04 23:11:12 (GMT) |
---|---|---|
committer | Chris Packham <judge.packham@gmail.com> | 2019-09-04 23:32:23 (GMT) |
commit | 7b362e6dae1d0744b1f35a930e8ec515b1ccb00b (patch) | |
tree | d47abd41edf56fb2020638a231ad4d2a7ab8f762 /packages/glibc/2.30/0000-typedef-caddr.patch | |
parent | afaf7b9a25b5d77991002936be5c47fc5ff549de (diff) |
Add glibc 2.30
Add the GNU C Library version 2.30. Bring forward the
typedef-caddr.patch. Skip the ARC patch for now.
https://sourceware.org/ml/libc-alpha/2019-08/msg00029.html
Signed-off-by: Chris Packham <judge.packham@gmail.com>
Diffstat (limited to 'packages/glibc/2.30/0000-typedef-caddr.patch')
-rw-r--r-- | packages/glibc/2.30/0000-typedef-caddr.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/glibc/2.30/0000-typedef-caddr.patch b/packages/glibc/2.30/0000-typedef-caddr.patch new file mode 100644 index 0000000..a328da1 --- /dev/null +++ b/packages/glibc/2.30/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 +@@ -112,7 +112,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 |