diff options
author | Alexey Neyman <stilor@att.net> | 2017-01-17 00:17:00 -0800 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2017-01-17 00:17:00 -0800 |
commit | 2ee46bf9a17d5e793c45cfe3c59787e41643b588 (patch) | |
tree | e904579a86ef0fa174fa89d4375006f802f9437d /patches/glibc | |
parent | ee69c763568f44507198d39977e2a5bc7a0d098b (diff) | |
download | crosstool-ng-2ee46bf9a17d5e793c45cfe3c59787e41643b588.tar.gz crosstool-ng-2ee46bf9a17d5e793c45cfe3c59787e41643b588.tar.bz2 crosstool-ng-2ee46bf9a17d5e793c45cfe3c59787e41643b588.zip |
Propagate caddr_t patch to other glibc versions
... 2.20, 2.21, 2.22 and 2.24.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'patches/glibc')
-rw-r--r-- | patches/glibc/2.20/910-typedef-caddr.patch | 15 | ||||
-rw-r--r-- | patches/glibc/2.21/910-typedef-caddr.patch | 15 | ||||
-rw-r--r-- | patches/glibc/2.22/910-typedef-caddr.patch | 15 | ||||
-rw-r--r-- | patches/glibc/2.24/910-typedef-caddr.patch | 15 |
4 files changed, 60 insertions, 0 deletions
diff --git a/patches/glibc/2.20/910-typedef-caddr.patch b/patches/glibc/2.20/910-typedef-caddr.patch new file mode 100644 index 00000000..fc7979b7 --- /dev/null +++ b/patches/glibc/2.20/910-typedef-caddr.patch @@ -0,0 +1,15 @@ +diff -urN glibc-2.23-orig/posix/sys/types.h glibc-2.23/posix/sys/types.h +--- glibc-2.23-orig/posix/sys/types.h 2016-02-18 12:54:00.000000000 -0500 ++++ glibc-2.23/posix/sys/types.h 2017-01-06 11:40:05.842147165 -0500 +@@ -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 + diff --git a/patches/glibc/2.21/910-typedef-caddr.patch b/patches/glibc/2.21/910-typedef-caddr.patch new file mode 100644 index 00000000..fc7979b7 --- /dev/null +++ b/patches/glibc/2.21/910-typedef-caddr.patch @@ -0,0 +1,15 @@ +diff -urN glibc-2.23-orig/posix/sys/types.h glibc-2.23/posix/sys/types.h +--- glibc-2.23-orig/posix/sys/types.h 2016-02-18 12:54:00.000000000 -0500 ++++ glibc-2.23/posix/sys/types.h 2017-01-06 11:40:05.842147165 -0500 +@@ -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 + diff --git a/patches/glibc/2.22/910-typedef-caddr.patch b/patches/glibc/2.22/910-typedef-caddr.patch new file mode 100644 index 00000000..fc7979b7 --- /dev/null +++ b/patches/glibc/2.22/910-typedef-caddr.patch @@ -0,0 +1,15 @@ +diff -urN glibc-2.23-orig/posix/sys/types.h glibc-2.23/posix/sys/types.h +--- glibc-2.23-orig/posix/sys/types.h 2016-02-18 12:54:00.000000000 -0500 ++++ glibc-2.23/posix/sys/types.h 2017-01-06 11:40:05.842147165 -0500 +@@ -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 + diff --git a/patches/glibc/2.24/910-typedef-caddr.patch b/patches/glibc/2.24/910-typedef-caddr.patch new file mode 100644 index 00000000..fc7979b7 --- /dev/null +++ b/patches/glibc/2.24/910-typedef-caddr.patch @@ -0,0 +1,15 @@ +diff -urN glibc-2.23-orig/posix/sys/types.h glibc-2.23/posix/sys/types.h +--- glibc-2.23-orig/posix/sys/types.h 2016-02-18 12:54:00.000000000 -0500 ++++ glibc-2.23/posix/sys/types.h 2017-01-06 11:40:05.842147165 -0500 +@@ -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 + |