aboutsummaryrefslogtreecommitdiffstats
path: root/main/qt5-qtbase/qt-musl-socklen.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-09-09 08:06:46 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-09-09 08:15:08 +0000
commit967af83a41c09a348aad6f00fc455129462b5cad (patch)
tree9ed85cb4c7156406c65f33806d20d648e84c51bc /main/qt5-qtbase/qt-musl-socklen.patch
parent7dbda83b9c37a3554800c222ad674437b609966d (diff)
downloadaports-967af83a41c09a348aad6f00fc455129462b5cad.tar.bz2
aports-967af83a41c09a348aad6f00fc455129462b5cad.tar.xz
main/qt5-*: moved from testing
Diffstat (limited to 'main/qt5-qtbase/qt-musl-socklen.patch')
-rw-r--r--main/qt5-qtbase/qt-musl-socklen.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/main/qt5-qtbase/qt-musl-socklen.patch b/main/qt5-qtbase/qt-musl-socklen.patch
new file mode 100644
index 0000000000..90b9ccda08
--- /dev/null
+++ b/main/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