diff options
Diffstat (limited to 'meta/recipes-support/nspr/nspr/0001-Remove-the-check-for-LINUX-glibc-case.patch')
-rw-r--r-- | meta/recipes-support/nspr/nspr/0001-Remove-the-check-for-LINUX-glibc-case.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-support/nspr/nspr/0001-Remove-the-check-for-LINUX-glibc-case.patch b/meta/recipes-support/nspr/nspr/0001-Remove-the-check-for-LINUX-glibc-case.patch new file mode 100644 index 0000000000..5b17355539 --- /dev/null +++ b/meta/recipes-support/nspr/nspr/0001-Remove-the-check-for-LINUX-glibc-case.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | From 9b9c95e0390395c7e9ad24a882deb87a50846059 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sat, 8 Aug 2015 17:10:34 -0700 | ||
4 | Subject: [PATCH] Remove the check for LINUX == glibc case | ||
5 | |||
6 | Here it does not consider the case where musl can be an options it does | ||
7 | consider the bionic case with !defined(ANDROID) but musl does not define | ||
8 | and musl'ism defines like that | ||
9 | |||
10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
11 | --- | ||
12 | Upstream-Status: Pending | ||
13 | |||
14 | pr/src/misc/prnetdb.c | 5 +---- | ||
15 | 1 file changed, 1 insertion(+), 4 deletions(-) | ||
16 | |||
17 | diff --git a/pr/src/misc/prnetdb.c b/pr/src/misc/prnetdb.c | ||
18 | index b86248f..dc83a56 100644 | ||
19 | --- a/pr/src/misc/prnetdb.c | ||
20 | +++ b/pr/src/misc/prnetdb.c | ||
21 | @@ -61,10 +61,7 @@ PRLock *_pr_dnsLock = NULL; | ||
22 | #define _PR_HAVE_GETPROTO_R_POINTER | ||
23 | #endif | ||
24 | |||
25 | -#if defined(SOLARIS) || (defined(BSDI) && defined(_REENTRANT)) \ | ||
26 | - || (defined(LINUX) && defined(_REENTRANT) \ | ||
27 | - && !(defined(__GLIBC__) && __GLIBC__ >= 2) \ | ||
28 | - && !defined(ANDROID)) | ||
29 | +#if defined(SOLARIS) || (defined(BSDI) && defined(_REENTRANT)) | ||
30 | #define _PR_HAVE_GETPROTO_R | ||
31 | #define _PR_HAVE_GETPROTO_R_POINTER | ||
32 | #endif | ||
33 | -- | ||
34 | 2.1.4 | ||
35 | |||