forked from openwrt/packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request openwrt#12525 from neheb/rpp
rp-pppoe: update to 3.14
- Loading branch information
Showing
6 changed files
with
38 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 22 additions & 15 deletions
37
net/rp-pppoe/patches/120-use-linux-ether-not-netinet.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,41 @@ | ||
--- a/src/configure | ||
+++ b/src/configure | ||
@@ -3676,7 +3676,7 @@ fi | ||
done | ||
|
||
|
||
-for ac_header in fcntl.h sys/dlpi.h sys/ioctl.h sys/time.h syslog.h unistd.h net/if_arp.h netinet/if_ether.h getopt.h sys/uio.h sys/param.h fcntl.h net/bpf.h netpacket/packet.h net/ethernet.h asm/types.h linux/if_packet.h linux/if_ether.h sys/socket.h sys/cdefs.h net/if.h net/if_dl.h net/if_ether.h net/if_types.h netinet/if_ether.h net/if_types.h net/if_dl.h | ||
+for ac_header in fcntl.h sys/dlpi.h sys/ioctl.h sys/time.h syslog.h unistd.h net/if_arp.h getopt.h sys/uio.h sys/param.h fcntl.h net/bpf.h netpacket/packet.h asm/types.h linux/if_packet.h linux/if_ether.h sys/socket.h sys/cdefs.h net/if.h net/if_dl.h net/if_types.h net/if_types.h net/if_dl.h | ||
do : | ||
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | ||
--- a/src/if.c | ||
+++ b/src/if.c | ||
@@ -30,10 +30,6 @@ static char const RCSID[] = | ||
@@ -33,9 +33,9 @@ | ||
#include <linux/if_packet.h> | ||
#endif | ||
|
||
-#ifdef HAVE_NET_ETHERNET_H | ||
-#include <net/ethernet.h> | ||
-#endif | ||
- | ||
+//#ifdef HAVE_NET_ETHERNET_H | ||
+//#include <net/ethernet.h> | ||
+//#endif | ||
|
||
#ifdef HAVE_ASM_TYPES_H | ||
#include <asm/types.h> | ||
#endif | ||
--- a/src/plugin.c | ||
+++ b/src/plugin.c | ||
@@ -49,7 +49,6 @@ static char const RCSID[] = | ||
@@ -52,7 +52,7 @@ | ||
#include <unistd.h> | ||
#include <fcntl.h> | ||
#include <signal.h> | ||
-#include <net/ethernet.h> | ||
+//#include <net/ethernet.h> | ||
#include <net/if_arp.h> | ||
#include <linux/ppp_defs.h> | ||
#include <linux/if_pppox.h> | ||
--- a/src/pppoe.h | ||
+++ b/src/pppoe.h | ||
@@ -129,9 +129,9 @@ typedef unsigned long UINT32_t; | ||
#ifdef HAVE_SYS_SOCKET_H | ||
#include <sys/socket.h> | ||
#endif | ||
-#ifndef HAVE_SYS_DLPI_H | ||
-#include <netinet/if_ether.h> | ||
-#endif | ||
+//#ifndef HAVE_SYS_DLPI_H | ||
+//#include <netinet/if_ether.h> | ||
+//#endif | ||
#endif | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
--- a/src/Makefile.in | ||
+++ b/src/Makefile.in | ||
@@ -139,7 +139,8 @@ plugin/plugin.o: plugin.c | ||
@CC@ -DPLUGIN=1 '-DRP_VERSION="$(VERSION)"' $(CFLAGS) -I$(PPPD_INCDIR) -c -o $@ -fPIC $< | ||
@@ -140,7 +140,8 @@ plugin/plugin.o: plugin.c | ||
@CC@ -DPLUGIN=1 '-DRP_VERSION="$(RP_VERSION)"' $(CFLAGS) -I$(PPPD_INCDIR) -c -o $@ -fPIC $< | ||
|
||
plugin/libplugin.a: plugin/discovery.o plugin/if.o plugin/common.o plugin/debug.o | ||
- ar -rc $@ $^ | ||
+ $(AR) -rc $@ $^ | ||
+ @RANLIB@ $@ | ||
|
||
plugin/discovery.o: discovery.c | ||
@CC@ -DPLUGIN=1 $(CFLAGS) '-DVERSION="$(VERSION)"' -c -o $@ -fPIC $< | ||
@CC@ -DPLUGIN=1 $(CFLAGS) '-DRP_VERSION="$(RP_VERSION)"' -I$(PPPD_INCDIR) -c -o $@ -fPIC $< |
12 changes: 0 additions & 12 deletions
12
net/rp-pppoe/patches/140-glibc-avoid-include-linux_in.h.patch
This file was deleted.
Oops, something went wrong.