qt5: unbreal musl build (take 4).
This commit is contained in:
parent
4ebf3abad8
commit
0295ab65a9
2 changed files with 21 additions and 1 deletions
|
@ -123,3 +123,23 @@
|
|||
#define U_TIMEZONE __timezone
|
||||
#endif
|
||||
#if 1
|
||||
--- qtwebengine/src/3rdparty/chromium/third_party/libxml/src/threads.c.orig 2015-05-12 06:49:49.220140993 +0200
|
||||
+++ qtwebengine/src/3rdparty/chromium/third_party/libxml/src/threads.c 2015-05-12 06:52:15.196605626 +0200
|
||||
@@ -48,7 +48,7 @@
|
||||
|
||||
static int libxml_is_threaded = -1;
|
||||
#ifdef __GNUC__
|
||||
-#ifdef linux
|
||||
+#ifdef __GLIBC__
|
||||
#if (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) || (__GNUC__ > 3)
|
||||
extern int pthread_once (pthread_once_t *__once_control,
|
||||
void (*__init_routine) (void))
|
||||
@@ -88,7 +88,7 @@ extern int pthread_key_delete ()
|
||||
extern int pthread_cond_signal ()
|
||||
__attribute((weak));
|
||||
#endif
|
||||
-#endif /* linux */
|
||||
+#endif /* __GLIBC__ */
|
||||
#endif /* __GNUC__ */
|
||||
#endif /* HAVE_PTHREAD_H */
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Template file for 'qt5'
|
||||
# Template file for 'qt5'
|
||||
pkgname=qt5
|
||||
version=5.4.1
|
||||
revision=4
|
||||
|
|
Loading…
Reference in a new issue