diff options
Diffstat (limited to 'testing/qt5-qtbase/qt-musl-socklen.patch')
-rw-r--r-- | testing/qt5-qtbase/qt-musl-socklen.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/qt5-qtbase/qt-musl-socklen.patch b/testing/qt5-qtbase/qt-musl-socklen.patch new file mode 100644 index 0000000000..90b9ccda08 --- /dev/null +++ b/testing/qt5-qtbase/qt-musl-socklen.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 |