diff options
author | Timo Teräs <timo.teras@iki.fi> | 2013-10-07 12:29:29 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2013-10-07 12:29:29 +0000 |
commit | 0448bbf267163f245d410ae86879390b6d502f39 (patch) | |
tree | fbd33d222caa082fce13d301011b24455849613e /main/qt/qt-clucene-timeb.patch | |
parent | c5461a8402d2c56f1e0c63da482b179e945b1242 (diff) | |
download | aports-0448bbf267163f245d410ae86879390b6d502f39.tar.bz2 aports-0448bbf267163f245d410ae86879390b6d502f39.tar.xz |
main/qt: fix musl build
Diffstat (limited to 'main/qt/qt-clucene-timeb.patch')
-rw-r--r-- | main/qt/qt-clucene-timeb.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/main/qt/qt-clucene-timeb.patch b/main/qt/qt-clucene-timeb.patch new file mode 100644 index 0000000000..a0d3ed6400 --- /dev/null +++ b/main/qt/qt-clucene-timeb.patch @@ -0,0 +1,17 @@ +--- qt-everywhere-opensource-src-4.8.5/src/3rdparty/clucene/src/CLucene/util/Misc.cpp.orig ++++ qt-everywhere-opensource-src-4.8.5/src/3rdparty/clucene/src/CLucene/util/Misc.cpp +@@ -20,11 +20,11 @@ + # endif + #endif + +-#ifdef _CL_HAVE_SYS_TIMEB_H ++#ifndef UNDER_CE ++#ifdef _defined(_CLCOMPILER_MSVC) || defined(__MINGW32__) || defined(__BORLANDC__) + # include <sys/timeb.h> + #endif +- +-#ifdef UNDER_CE ++#else + #include <QTime> + #endif + |