From 449123ad5d86a41967012aefe65cc24b8711c6ec Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Fri, 7 Jul 2017 08:20:02 +0200 Subject: [PATCH] wol: -Werror=implicit-function-declaration --- packages/wol/src-magic.c.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 packages/wol/src-magic.c.patch diff --git a/packages/wol/src-magic.c.patch b/packages/wol/src-magic.c.patch new file mode 100644 index 000000000..dfa66240d --- /dev/null +++ b/packages/wol/src-magic.c.patch @@ -0,0 +1,14 @@ +diff -u -r ../wol-0.7.1/src/magic.c ./src/magic.c +--- ../wol-0.7.1/src/magic.c 2003-08-12 16:45:22.000000000 +0000 ++++ ./src/magic.c 2017-07-07 06:18:14.306649401 +0000 +@@ -114,7 +114,9 @@ + XFREE ((void *) m); + } + +- ++#ifdef __ANDROID__ ++extern int ether_hostton(const char *, struct ether_addr *); ++#endif + + int + magic_assemble (struct magic *magic_buf, const char *mac_str,