diff options
Diffstat (limited to 'package/network/services/ppp/patches/140-pppoe_compile_fix.patch')
-rw-r--r-- | package/network/services/ppp/patches/140-pppoe_compile_fix.patch | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/package/network/services/ppp/patches/140-pppoe_compile_fix.patch b/package/network/services/ppp/patches/140-pppoe_compile_fix.patch index e25c567033..6453ab12c2 100644 --- a/package/network/services/ppp/patches/140-pppoe_compile_fix.patch +++ b/package/network/services/ppp/patches/140-pppoe_compile_fix.patch @@ -1,6 +1,6 @@ --- a/pppd/plugins/rp-pppoe/pppoe.h +++ b/pppd/plugins/rp-pppoe/pppoe.h -@@ -52,11 +52,7 @@ +@@ -54,11 +54,7 @@ #include <netinet/in.h> /* Ugly header files on some Linux boxes... */ @@ -12,7 +12,7 @@ #ifdef HAVE_NET_IF_TYPES_H #include <net/if_types.h> -@@ -84,20 +80,7 @@ typedef unsigned long UINT32_t; +@@ -86,20 +82,7 @@ typedef unsigned long UINT32_t; #error Could not find a 32-bit integer type #endif @@ -34,14 +34,3 @@ /* Ethernet frame types according to RFC 2516 */ ---- a/pppd/plugins/rp-pppoe/Makefile.linux -+++ b/pppd/plugins/rp-pppoe/Makefile.linux -@@ -33,7 +33,7 @@ pppoe-discovery: pppoe-discovery.o debug - $(CC) $(LDFLAGS) -o pppoe-discovery pppoe-discovery.o debug.o - - pppoe-discovery.o: pppoe-discovery.c -- $(CC) $(CFLAGS) -c -o pppoe-discovery.o pppoe-discovery.c -+ $(CC) $(CFLAGS) -I../../.. -c -o pppoe-discovery.o pppoe-discovery.c - - debug.o: debug.c - $(CC) $(CFLAGS) -c -o debug.o debug.c |