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-musl.patch | |
parent | c5461a8402d2c56f1e0c63da482b179e945b1242 (diff) | |
download | aports-0448bbf267163f245d410ae86879390b6d502f39.tar.bz2 aports-0448bbf267163f245d410ae86879390b6d502f39.tar.xz |
main/qt: fix musl build
Diffstat (limited to 'main/qt/qt-musl.patch')
-rw-r--r-- | main/qt/qt-musl.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/main/qt/qt-musl.patch b/main/qt/qt-musl.patch new file mode 100644 index 0000000000..90b9ccda08 --- /dev/null +++ b/main/qt/qt-musl.patch @@ -0,0 +1,14 @@ +--- qt-everywhere-opensource-src-4.8.5/mkspecs/linux-g++/qplatformdefs.h.orig ++++ qt-everywhere-opensource-src-4.8.5/mkspecs/linux-g++/qplatformdefs.h +@@ -86,11 +86,7 @@ + + #undef QT_SOCKLEN_T + +-#if defined(__GLIBC__) && (__GLIBC__ >= 2) + #define QT_SOCKLEN_T socklen_t +-#else +-#define QT_SOCKLEN_T int +-#endif + + #if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500) + #define QT_SNPRINTF ::snprintf |