From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3] qt: Fix musl build
Date: Fri, 15 Apr 2016 09:52:37 +0200 [thread overview]
Message-ID: <20160415095237.14eb5bf8@free-electrons.com> (raw)
In-Reply-To: <1460702436-2666-1-git-send-email-joerg.krause@embedded.rocks>
Hello,
On Fri, 15 Apr 2016 08:40:36 +0200, J?rg Krause wrote:
> 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>
> ---
> Note: A first version for the package qt to fix the musl build was proposed by
> Bernd Kuhls [1].
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
prev parent reply other threads:[~2016-04-15 7:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-23 13:06 [Buildroot] [PATCH 1/1] package/qt: Fix musl build Bernd Kuhls
2016-04-14 23:11 ` [Buildroot] [PATCH v2] qt: " Jörg Krause
2016-04-15 6:40 ` [Buildroot] [PATCH v3] " Jörg Krause
2016-04-15 7:52 ` Thomas Petazzoni [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160415095237.14eb5bf8@free-electrons.com \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox