diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-09-04 15:58:51 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-09-04 15:58:51 +0200 |
commit | 29df7026088c973b5ba99b48f93b10006e5c0e4c (patch) | |
tree | bb69240c53349e5d4f37ce81036b3404acd2a6c6 /package/libxml2/patches/patch-threads_c | |
parent | 3c20e7545c11200a09e8a37bf1929e1786a59c8b (diff) | |
parent | 3102de1e866e5f716baad9c6ead4162a5b393ceb (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/libxml2/patches/patch-threads_c')
-rw-r--r-- | package/libxml2/patches/patch-threads_c | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/package/libxml2/patches/patch-threads_c b/package/libxml2/patches/patch-threads_c new file mode 100644 index 000000000..11b29ac6a --- /dev/null +++ b/package/libxml2/patches/patch-threads_c @@ -0,0 +1,53 @@ +--- libxml2-2.9.1.orig/threads.c 2013-04-05 17:08:04.000000000 +0200 ++++ libxml2-2.9.1/threads.c 2013-09-04 15:17:52.000000000 +0200 +@@ -47,49 +47,7 @@ + #ifdef HAVE_PTHREAD_H + + static int libxml_is_threaded = -1; +-#ifdef __GNUC__ +-#ifdef linux +-#if (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) || (__GNUC__ > 3) +-extern int pthread_once (pthread_once_t *__once_control, +- void (*__init_routine) (void)) +- __attribute((weak)); +-extern void *pthread_getspecific (pthread_key_t __key) +- __attribute((weak)); +-extern int pthread_setspecific (pthread_key_t __key, +- __const void *__pointer) +- __attribute((weak)); +-extern int pthread_key_create (pthread_key_t *__key, +- void (*__destr_function) (void *)) +- __attribute((weak)); +-extern int pthread_key_delete (pthread_key_t __key) +- __attribute((weak)); +-extern int pthread_mutex_init () +- __attribute((weak)); +-extern int pthread_mutex_destroy () +- __attribute((weak)); +-extern int pthread_mutex_lock () +- __attribute((weak)); +-extern int pthread_mutex_unlock () +- __attribute((weak)); +-extern int pthread_cond_init () +- __attribute((weak)); +-extern int pthread_cond_destroy () +- __attribute((weak)); +-extern int pthread_cond_wait () +- __attribute((weak)); +-extern int pthread_equal () +- __attribute((weak)); +-extern pthread_t pthread_self () +- __attribute((weak)); +-extern int pthread_key_create () +- __attribute((weak)); +-extern int pthread_key_delete () +- __attribute((weak)); +-extern int pthread_cond_signal () +- __attribute((weak)); +-#endif +-#endif /* linux */ +-#endif /* __GNUC__ */ ++ + #endif /* HAVE_PTHREAD_H */ + + /* |