lldpd: fix autoreconf failure
authorJo-Philipp Wich <jo@mein.io>
Wed, 9 Dec 2020 10:53:04 +0000 (11:53 +0100)
committerJo-Philipp Wich <jo@mein.io>
Wed, 9 Dec 2020 11:36:40 +0000 (12:36 +0100)
commitdd5b3b58d8aa4427c40bc1247196a6693a57f460
treef34e415cbaa4421d7c24a427a20bb29c0510be31
parenta58826c34f34e1ce99d0870a0a0eefd71e4868a0
lldpd: fix autoreconf failure

The lldpd sources ship a modified local AX_LIB_READLINE M4 macro which
conflicts with the official macro shipped by autoconf-archive.

Due to the official macro having the same name and a higher serial
number, autoconf will prefer including that one instead of the local
copy, preventing the substitution of @READLINE_LIBS@ in Makefile.in
templates, ultimately leading to the following build failure when
linking lldpcli:

    ...-gcc: error: READLINE_LIBS@: No such file or directory

Avoid this problem by renaming the locally shipped macro to not clash
with the official implementation anymore.

Ref: https://github.com/lldpd/lldpd/pull/423
Acked-by: Stijn Tintel <stijn@linux-ipv6.be>
Tested-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
package/network/services/lldpd/patches/002-fix-AX_LIB_READLINE-macro-conflict.patch [new file with mode: 0644]