summaryrefslogtreecommitdiffstats
path: root/package/network/services/ppp/patches/140-pppoe_compile_fix.patch
diff options
context:
space:
mode:
authorSteven Barth <cyrus@openwrt.org>2014-06-15 20:55:17 +0000
committerSteven Barth <cyrus@openwrt.org>2014-06-15 20:55:17 +0000
commit941ab9a89ada8ce32d143668ae509c6741245a17 (patch)
tree61ec8e63dec95149e09e718c0e715f7bcc9d274b /package/network/services/ppp/patches/140-pppoe_compile_fix.patch
parent1599e6f6015fd97f4272182b3f6e3d67f78a30bf (diff)
downloadmaster-31e0f0ae-941ab9a89ada8ce32d143668ae509c6741245a17.tar.gz
master-31e0f0ae-941ab9a89ada8ce32d143668ae509c6741245a17.tar.bz2
master-31e0f0ae-941ab9a89ada8ce32d143668ae509c6741245a17.zip
ppp: bump to 2.4.6
Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 41193
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.patch7
1 files changed, 4 insertions, 3 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 6f24c2cb32..71f96ff998 100644
--- a/package/network/services/ppp/patches/140-pppoe_compile_fix.patch
+++ b/package/network/services/ppp/patches/140-pppoe_compile_fix.patch
@@ -1,16 +1,17 @@
--- a/pppd/plugins/rp-pppoe/plugin.c
+++ b/pppd/plugins/rp-pppoe/plugin.c
-@@ -46,9 +46,9 @@ static char const RCSID[] =
+@@ -46,10 +46,10 @@ static char const RCSID[] =
#include <unistd.h>
#include <fcntl.h>
#include <signal.h>
-#include <net/ethernet.h>
#include <net/if_arp.h>
#include <linux/ppp_defs.h>
-+#include <linux/if_ether.h>
- #include <linux/if_ppp.h>
#include <linux/if_pppox.h>
++#include <linux/if_ether.h>
+ #ifndef _ROOT_PATH
+ #define _ROOT_PATH ""
--- a/pppd/plugins/rp-pppoe/pppoe.h
+++ b/pppd/plugins/rp-pppoe/pppoe.h
@@ -86,17 +86,6 @@ typedef unsigned long UINT32_t;