summaryrefslogtreecommitdiffstats
path: root/package/qt/0011-Link-with-ldl-option-only-when-it-is-supported.patch
diff options
context:
space:
mode:
authorJörg Krause <joerg.krause@embedded.rocks>2016-04-15 08:40:36 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-04-15 09:38:57 +0200
commit036a1aaaa69f95853c58df6287519edbc9e82c80 (patch)
treec9872c504c4e4e66f1ec4f9a5c49f2157dd53614 /package/qt/0011-Link-with-ldl-option-only-when-it-is-supported.patch
parent3e0d10da02ffd34f300a898de50b8f934e649258 (diff)
downloadbuildroot-036a1aaaa69f95853c58df6287519edbc9e82c80.tar.gz
buildroot-036a1aaaa69f95853c58df6287519edbc9e82c80.zip
qt: Fix musl build
This helps to make sure that QT_SOCKLEN_T is defined to be 'int' only for legacy glibc < 2 and not also for other libraries which may define it as per standards but are not glibc, e.g. musl. Fixes the following build error: In file included from ../../include/QtNetwork/private/qnet_unix_p.h:1:0, from kernel/qnetworkinterface_unix.cpp:46: ../../include/QtNetwork/private/../../../src/network/socket/qnet_unix_p.h: In function 'int qt_safe_accept(int, sockaddr*, int*, int)': ../../include/QtNetwork/private/../../../src/network/socket/qnet_unix_p.h:121:76: error: invalid conversion from 'int*' to 'socklen_t* {aka unsigned int*}' [-fpermissive] Fixes: http://autobuild.buildroot.net/results/709/709d547699596d09b4601a7940677d2010adeedf/ http://autobuild.buildroot.net/results/f05/f0589e1d06404a7bd57f5734228afe45164e553d/ Backported from Qt5: https://github.com/qtproject/qtbase/commit/813f468a14fb84af43c1f8fc0a1430277358eba2 Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/qt/0011-Link-with-ldl-option-only-when-it-is-supported.patch')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud