knxd: fix build on macos
authorSergey V. Lobanov <sergey@lobanov.in>
Sun, 30 Jan 2022 22:54:53 +0000 (01:54 +0300)
committerRosen Penev <rosenp@gmail.com>
Mon, 31 Jan 2022 07:08:41 +0000 (23:08 -0800)
commitae7b15872341786773b3eb4419b4af490c6af773
tree6d6626b598410330ecb5cafd5c463f9a310d88f9
parenteeb3143a8864227ee74dd82bd53b61bd2d7ae48a
knxd: fix build on macos

knxd compilation fails on macos due to clang does not support
exit() builtin function that is used to detect build cc

This commit adds a patch to fix this issue (replaces `exit 0` by
`return 0` in conftest.c)

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
net/knxd/Makefile
net/knxd/patches/101_add_clang_suport_as_build_cc.patch [new file with mode: 0644]