diff options
Diffstat (limited to 'meta/recipes-core/libxml/libxml2/0001-threads-Define-pthread-definitions-for-glibc-complia.patch')
-rw-r--r-- | meta/recipes-core/libxml/libxml2/0001-threads-Define-pthread-definitions-for-glibc-complia.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/meta/recipes-core/libxml/libxml2/0001-threads-Define-pthread-definitions-for-glibc-complia.patch b/meta/recipes-core/libxml/libxml2/0001-threads-Define-pthread-definitions-for-glibc-complia.patch deleted file mode 100644 index c653a81af3..0000000000 --- a/meta/recipes-core/libxml/libxml2/0001-threads-Define-pthread-definitions-for-glibc-complia.patch +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | From 6750cc564a17c812555cca587660240ccffaaed3 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sat, 4 Apr 2015 08:50:40 -0700 | ||
4 | Subject: [PATCH] threads: Define pthread* definitions for glibc compliant libs | ||
5 | |||
6 | This code is assuming glibc but not explicitly saying it | ||
7 | so lets make it so. Fixes following on musl | ||
8 | |||
9 | threads.c:80:27: error: macro "pthread_equal" requires 2 arguments, but | ||
10 | only 1 given | ||
11 | | extern int pthread_equal () | ||
12 | |||
13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
14 | |||
15 | Upstream-Status: Pending | ||
16 | --- | ||
17 | threads.c | 2 +- | ||
18 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
19 | |||
20 | Index: libxml2-2.9.2/threads.c | ||
21 | =================================================================== | ||
22 | --- libxml2-2.9.2.orig/threads.c | ||
23 | +++ libxml2-2.9.2/threads.c | ||
24 | @@ -47,7 +47,7 @@ | ||
25 | #ifdef HAVE_PTHREAD_H | ||
26 | |||
27 | static int libxml_is_threaded = -1; | ||
28 | -#ifdef __GNUC__ | ||
29 | +#if defined(__GNUC__) && defined(__GLIBC__) | ||
30 | #ifdef linux | ||
31 | #if (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) || (__GNUC__ > 3) | ||
32 | extern int pthread_once (pthread_once_t *__once_control, | ||