qt5: unbreak musl build (take 3) (__timezone is glibc specific).

This commit is contained in:
Juan RP 2015-05-11 21:55:23 +02:00
parent 5a5524f1bc
commit 243bb51839
2 changed files with 12 additions and 1 deletions

View File

@ -112,3 +112,14 @@
Dl_info info;
if (!dladdr(addr, &info) || !info.dli_sname)
return;
--- qtwebengine/src/3rdparty/chromium/third_party/icu/source/common/unicode/plinux.h.orig 2015-05-11 21:54:12.721430155 +0200
+++ qtwebengine/src/3rdparty/chromium/third_party/icu/source/common/unicode/plinux.h 2015-05-11 21:54:21.105450434 +0200
@@ -282,7 +282,7 @@
#if 1
#define U_TZSET tzset
#endif
-#if !defined(__UCLIBC__)
+#if defined(__GLIBC__)
#define U_TIMEZONE __timezone
#endif
#if 1

View File

@ -1,4 +1,4 @@
# Template file for 'qt5'
# Template file for 'qt5'
pkgname=qt5
version=5.4.1
revision=4