diff options
author | C. Robert Daniels III <robert.daniels@vantagecontrols.com> | 2017-01-06 09:52:14 -0700 |
---|---|---|
committer | C. Robert Daniels III <robert.daniels@vantagecontrols.com> | 2017-01-06 09:52:14 -0700 |
commit | d0cd6b8ecee433c8b12658a62f52875122172fcf (patch) | |
tree | 3f7e4784c359864a3ce79756f32d23abebf9f31e /patches/glibc | |
parent | a2d49174dffdb9e33aa6cb53da16d84824fd4ed6 (diff) | |
download | crosstool-ng-d0cd6b8ecee433c8b12658a62f52875122172fcf.tar.gz crosstool-ng-d0cd6b8ecee433c8b12658a62f52875122172fcf.tar.bz2 crosstool-ng-d0cd6b8ecee433c8b12658a62f52875122172fcf.zip |
Fix for Candian-Cross builds for mingw host to arm target.
Diffstat (limited to 'patches/glibc')
-rw-r--r-- | patches/glibc/2.23/910-typedef-caddr.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/patches/glibc/2.23/910-typedef-caddr.patch b/patches/glibc/2.23/910-typedef-caddr.patch new file mode 100644 index 00000000..fc7979b7 --- /dev/null +++ b/patches/glibc/2.23/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 + |