diff options
author | Chris Packham <judge.packham@gmail.com> | 2021-08-03 08:52:07 (GMT) |
---|---|---|
committer | Chris Packham <judge.packham@gmail.com> | 2021-08-25 08:32:27 (GMT) |
commit | 5faf255006023d9329c7729bcb2b71585a966508 (patch) | |
tree | 2b5ee19f467f3a99fbb0b004244ed46b58b57785 /packages/glibc/2.34/0000-typedef-caddr.patch | |
parent | 672c13eb00723b23e3a1c21ca10545ce2da84822 (diff) |
packages/glibc: Add 2.34
Add glibc 2.34. Bring through patches for canadian build and ARC700.
https://sourceware.org/pipermail/libc-alpha/2021-August/129718.html
Signed-off-by: Chris Packham <judge.packham@gmail.com>
Diffstat (limited to 'packages/glibc/2.34/0000-typedef-caddr.patch')
-rw-r--r-- | packages/glibc/2.34/0000-typedef-caddr.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/glibc/2.34/0000-typedef-caddr.patch b/packages/glibc/2.34/0000-typedef-caddr.patch new file mode 100644 index 0000000..451884c --- /dev/null +++ b/packages/glibc/2.34/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 @@ typedef __ssize_t ssize_t; + #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 |