conntrack-tools: add patch to fix build with musl
authorRodrigo Rebello <rprebello@gmail.com>
Mon, 23 Nov 2015 05:28:10 +0000 (03:28 -0200)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 26 Nov 2015 21:42:11 +0000 (22:42 +0100)
commit07283e6ad5303e057d91c9211013d34c566fa61f
tree6c89023e209d9d50c94c507fbf2e8c5fb0daa471
parentb1ad8c516698db92e8755a69bc182c318c3c47e2
conntrack-tools: add patch to fix build with musl

The conntrack-tools sources use the GNU version of 'struct tcphdr',
which is not exposed by the musl headers unless _GNU_SOURCE is defined.

The included patch adds the missing definition to 'src/helpers/rpc.c'.

Fixes:

  http://autobuild.buildroot.net/results/046/04613c47b9669c28cc3ff47c65607c23730ef691/
  http://autobuild.buildroot.net/results/520/520e8f327b9bd7eea59657bad702c35c632d115d/
  http://autobuild.buildroot.net/results/3d3/3d36403ba80089faea5dd06bc7e4414d593bbfc1/
  ...

Signed-off-by: Rodrigo Rebello <rprebello@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/conntrack-tools/0001-src-fix-build-with-musl-libc.patch [new file with mode: 0644]