summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2013-12-11 14:04:34 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-12-14 09:11:12 +0000
commiteef85f8b6b1f56ae7a759b8d2fcdebb20f8f54a3 (patch)
tree71524182124b43f4d7a21460e2fae446d8b0115e /meta
parenta90ad435e12de278ea51dc30c3abb5ef704d0567 (diff)
downloadpoky-eef85f8b6b1f56ae7a759b8d2fcdebb20f8f54a3.tar.gz
site: add xorg_cv_malloc0_returns_null
util-macros 1.18 will look in the autoconf cache for this value so instead of using overrides in xorg-lib-common, use the per-libc site cache. Alert readers may notice that the site file claims that glibc returns NULL from malloc(), when the previous change (e628c8aba0189de30de2833882b9999ff3b6547a) claimed that it didn't. The previous change was incorrect, whilst malloc(0) returns a valid pointer, realloc(p,0) does in fact return NULL, so the Xlib wrapper functions are needed. (From OE-Core rev: ecbf3f81f6d2929921e57066c2dd327d41d8e286) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/site/common-glibc3
-rw-r--r--meta/site/common-uclibc3
2 files changed, 6 insertions, 0 deletions
diff --git a/meta/site/common-glibc b/meta/site/common-glibc
index dc69703eec..8329bb3e15 100644
--- a/meta/site/common-glibc
+++ b/meta/site/common-glibc
@@ -80,3 +80,6 @@ ac_cv_va_copy=${ac_cv_va_copy=yes}
80ac_cv___va_copy=${ac_cv___va_copy=yes} 80ac_cv___va_copy=${ac_cv___va_copy=yes}
81ac_cv_func_va_copy=${ac_cv_func_va_copy=yes} 81ac_cv_func_va_copy=${ac_cv_func_va_copy=yes}
82ac_cv_func___va_copy=${ac_cv_func___va_copy=yes} 82ac_cv_func___va_copy=${ac_cv_func___va_copy=yes}
83
84# Xorg
85xorg_cv_malloc0_returns_null=${xorg_cv_malloc0_returns_null=yes}
diff --git a/meta/site/common-uclibc b/meta/site/common-uclibc
index 0e3fde056d..26fc103319 100644
--- a/meta/site/common-uclibc
+++ b/meta/site/common-uclibc
@@ -47,3 +47,6 @@ ac_cv_func___va_copy=${ac_cv_func___va_copy=yes}
47ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} 47ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes}
48ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes} 48ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes}
49ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes} 49ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes}
50
51# Xorg
52xorg_cv_malloc0_returns_null=${xorg_cv_malloc0_returns_null=yes}