[Buildroot] [PATCH] norm: fix build failure with old headers

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Mar 31 16:18:48 UTC 2016


Hello,

On Thu, 31 Mar 2016 10:45:38 -0300, Gustavo Zacarias wrote:
> The version check for the nfq_get_payload prototype is wrong since it's
> done against linux headers when in fact it changed with the 1.0.0
> release of libnetfilter_queue, leading to build failure in toolchains
> that have old headers when libnetfilter_queue is present. Fixes:
> http://autobuild.buildroot.net/results/c0e/c0e897a6db888d4a7e0302cdc1e0cbec7d1e88f3/
> 
> Signed-off-by: Gustavo Zacarias <gustavo at zacarias.com.ar>
> ---
>  .../0002-protolib-drop-linux-version-check.patch   | 38 ++++++++++++++++++++++
>  1 file changed, 38 insertions(+)
>  create mode 100644 package/norm/0002-protolib-drop-linux-version-check.patch

Applied to master, thanks. It would be good to submit the patch
upstream. Maybe the patch is not acceptable as-is because it will break
with older versions of libnetfilter_queue, but I guess an autoconf
check can be added for that.

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list