summaryrefslogtreecommitdiff
path: root/packages/glibc/2.33/0000-typedef-caddr.patch
diff options
context:
space:
mode:
authorHans-Christian Noren Egtvedt <hegtvedt@cisco.com>2021-02-12 10:52:33 (GMT)
committerHans-Christian Noren Egtvedt <hegtvedt@cisco.com>2021-02-12 11:29:24 (GMT)
commitb8001d14f292d7b50ab4407d8f816e6d57a5cba1 (patch)
tree9a58f37074e3e319cb383fd13e839607ebf6c686 /packages/glibc/2.33/0000-typedef-caddr.patch
parentedaec2817ea292330611ce3e23d91f11d9b10793 (diff)
glibc: add version 2.33
Forward ported all local patches from previous glibc release 2.32, they applied cleanly. Signed-off-by: Hans-Christian Noren Egtvedt <hegtvedt@cisco.com>
Diffstat (limited to 'packages/glibc/2.33/0000-typedef-caddr.patch')
-rw-r--r--packages/glibc/2.33/0000-typedef-caddr.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/glibc/2.33/0000-typedef-caddr.patch b/packages/glibc/2.33/0000-typedef-caddr.patch
new file mode 100644
index 0000000..451884c
--- /dev/null
+++ b/packages/glibc/2.33/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