The reason for removing <sys/poll.h> from getting included is that musl
explicitely tells to correct the code when <sys/poll.h> is included,
changing it to include <poll.h> only as the standard documents suggest!
ref: http://pubs.opengroup.org/onlinepubs/000095399/basedefs/poll.h.html
Note:
We need to inject '-std=c99' because the reference implementation of blake2
is using C99 specific semantics.
------------------------------------------------------------------------------
crypto_generichash/blake2/ref/blake2b-ref.c: In function 'blake2b_init0':
crypto_generichash/blake2/ref/blake2b-ref.c:143:3: error: 'for' loop initial declarations are only allowed in C99 mode
crypto_generichash/blake2/ref/blake2b-ref.c:143:3: note: use option -std=c99 or -std=gnu99 to compile your code
crypto_generichash/blake2/ref/blake2b-ref.c: In function 'crypto_generichash_blake2b__init_param':
crypto_generichash/blake2/ref/blake2b-ref.c:155:3: error: 'for' loop initial declarations are only allowed in C99 mode
crypto_generichash/blake2/ref/blake2b-ref.c: In function 'crypto_generichash_blake2b__final':
crypto_generichash/blake2/ref/blake2b-ref.c:328:3: error: 'for' loop initial declarations are only allowed in C99 mode
------------------------------------------------------------------------------
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.