ola: fix build (linking issue TCPSocket::ReadDescriptor() const) 2127/head
authorAlexandru Ardelean <ardeleanalex@gmail.com>
Mon, 14 Dec 2015 21:58:19 +0000 (23:58 +0200)
committerAlexandru Ardelean <ardeleanalex@gmail.com>
Mon, 14 Dec 2015 22:03:20 +0000 (00:03 +0200)
commit1c74804bc59cfd9b607c4d3faac5197e6006c449
treecb2a525f5ae205070b220442bf313fcf37d1a098
parent9bd34cd554b624915ec9e7b61909ded75de703ae
ola: fix build (linking issue TCPSocket::ReadDescriptor() const)

Reported buildbot issue is:
/store/buildbot/slave/ar71xx/build/build_dir/target-mips_34kc_musl-1.1.11/ola-0.9.7/plugins/openpixelcontrol/.libs/libolaopenpixelcontrol.so: undefined reference to `ola::network::TCPSocket::ReadDescriptor() const'
collect2: error: ld returned 1 exit status

There's also a discussion (attempt) to fix this on the buildroot project:
  https://patchwork.ozlabs.org/patch/503884/

This bug has been reported (from the buildroot project), here:
  https://github.com/OpenLightingProject/ola/issues/880

This commit introduced the issue:
  https://github.com/OpenLightingProject/ola/commit/bfc1d99055980dfac5c959a7210257d1939803ec
specifically the `-fvisibility-inlines-hidden` switch.

So, until, the upstream project (ola) fixes this, this fix
looks like the quickest/simplest workaround to have this package build.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
net/ola/patches/002-remove-visibility-inlines-hidden-flag.patch [new file with mode: 0644]