quagga: fix static link with zlib
authorBaruch Siach <baruch@tkos.co.il>
Sun, 21 Aug 2016 06:39:19 +0000 (09:39 +0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 21 Aug 2016 20:23:02 +0000 (22:23 +0200)
commitf130625dbf9e0e3be7e34ff93b1f6d9ab898ac2b
treed33ae4715950e98d20effb171a97284f0e7882a0
parent25b248b7e6af754703d22eab4cd2a0024f1ea2c7
quagga: fix static link with zlib

quagga links with zlib indirectly via netsnmp -> openssl -> zlib. quagga and
zlib both define the identically named but otherwise unrelated 'zcalloc'
symbol. This breaks static linking. Add a patch that renames the offending
symbol, thus fixing the build.

Fixes:
http://autobuild.buildroot.net/results/013/01317aeaff7d127a05e0488a51e81f2d43750687/
http://autobuild.buildroot.net/results/e9f/e9f17bb6e048c3dd3c65fc588dc5244fbbbba6fb/
http://autobuild.buildroot.net/results/72b/72b5e8a3d4c1d27c61cdad5a90691117d0dcfbb9/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/quagga/0003-lib-memory-fix-indirect-static-link-with-zlib.patch [new file with mode: 0644]