package/iwd: fix build with uclibc-ng
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Mon, 20 Sep 2021 16:30:31 +0000 (18:30 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Wed, 22 Sep 2021 19:14:04 +0000 (21:14 +0200)
commit071eea24aa38f6d15de3041320c52784897183dc
treebb0b54a59898c4395549951c2728cec282492ba0
parentf0e204d99b1830cec4426ab28089777cb4ddedb8
package/iwd: fix build with uclibc-ng

Fix the following build failure with uclibc-ng raised since bump to
version 1.17 in commit 9badccc9d4887aa2365d7350e3b26bd4250dad48:

/home/giuliobenetti/autobuild/run/instance-3/output-1/host/lib/gcc/xtensa-buildroot-linux-uclibc/10.3.0/../../../../xtensa-buildroot-linux-uclibc/bin/ld: src/sae.o: in function `sae_rx_authenticate':
sae.c:(.text+0xd74): undefined reference to `reallocarray'

Fixes:
 - http://autobuild.buildroot.org/results/c6d3f86282c44645b4f1c61882dc63ccfc8eb35a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/iwd/0001-build-Add-reallocarray-to-missing-h.patch [new file with mode: 0644]
package/iwd/iwd.mk