This case was detected when trying to build ulogd2 on a musl libc based
environment, because musl doesn't provide <sys/queue.h>.
according to a short discussion on #musl:
dalias> sys/queue.h has nothing to do with libc. it's a linked list/queue
implementation entirely in a header file
Do not use the FILE struct as marker to check if the user requested to use
syslog.
In musl the FILE struct is opaque, thus its storage size is not known to
the application.
This means that when using musl it has to be use as a pointer like it was
intended to be used.
ncurses can be build as separate libraries, thus it is possible to have a
separated libtinfo which has the symbol for tgetent.
This patch is changing the order of library checks to find tgetent, thus
that tinfo libs get checked before ncurses, so birdc will be linked against
libtinfo and not libncurses which leads to linking problems.
Note:
There wasn't a release net-tools for 11 years now, but development it seems
that upstream development is going on at http://net-tools.sourceforge.net,
thus we are going to use a recent git snapshot now, for people who still
like to use ifconfig and the other historical commands included within the
net-tools package!
Please also note that this commit is removing the ether-wake command which
was patched in before by using a patch provided by linuxfromscratch.
http://www.linuxfromscratch.org/patches/downloads/net-tools/net-tools-1.60-ether_wake-1.patch
The linux-src package installs bare kernel headers which are not
usable by userspace applications.
Because we used the '--with-ksource' configure option the bare
linux headers are being used instead of the cleaned up ones which
are installed by the the linux-header package and thus the buils
badly fails.