packages/net/etherwake/patches/120-musl-compat.patch
Ilya Lipnitskiy 5d8d4fbbcb
treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-02-20 16:02:15 -08:00

17 lines
379 B
Diff

--- a/ether-wake.c
+++ b/ether-wake.c
@@ -78,14 +78,8 @@ static char usage_msg[] =
#include <linux/if.h>
#include <features.h>
-#if __GLIBC__ >= 2 && __GLIBC_MINOR >= 1
#include <netpacket/packet.h>
#include <net/ethernet.h>
-#else
-#include <asm/types.h>
-#include <linux/if_packet.h>
-#include <linux/if_ether.h>
-#endif
#include <netdb.h>
#include <netinet/ether.h>