diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-03-17 16:39:18 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-03-17 16:39:18 +0100 |
commit | 58a0648738fc9e3454b526473cb8355af1e32925 (patch) | |
tree | 7872c06d161a353a9c45d0f3533701d79555daef /package/ppp/patches/patch-pppd_plugins_rp-pppoe_pppoe-discovery_c | |
parent | 0e00f45497ec1762b903fc07162d8d32452a1252 (diff) |
enable musl build, patches via lua script from alpinelinux
Diffstat (limited to 'package/ppp/patches/patch-pppd_plugins_rp-pppoe_pppoe-discovery_c')
-rw-r--r-- | package/ppp/patches/patch-pppd_plugins_rp-pppoe_pppoe-discovery_c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/package/ppp/patches/patch-pppd_plugins_rp-pppoe_pppoe-discovery_c b/package/ppp/patches/patch-pppd_plugins_rp-pppoe_pppoe-discovery_c new file mode 100644 index 000000000..6b79ad968 --- /dev/null +++ b/package/ppp/patches/patch-pppd_plugins_rp-pppoe_pppoe-discovery_c @@ -0,0 +1,22 @@ +--- ppp-2.4.5.orig/pppd/plugins/rp-pppoe/pppoe-discovery.c 2009-11-16 23:26:07.000000000 +0100 ++++ ppp-2.4.5/pppd/plugins/rp-pppoe/pppoe-discovery.c 2014-03-17 16:32:55.000000000 +0100 +@@ -27,10 +27,6 @@ + #include <linux/if_packet.h> + #endif + +-#ifdef HAVE_NET_ETHERNET_H +-#include <net/ethernet.h> +-#endif +- + #ifdef HAVE_ASM_TYPES_H + #include <asm/types.h> + #endif +@@ -55,6 +51,8 @@ void die(int status) + exit(status); + } + ++#define error(x...) fprintf(stderr, x) ++ + /* Initialize frame types to RFC 2516 values. Some broken peers apparently + use different frame types... sigh... */ + |