Browse Source

rp-pppoe: refresh patches

Signed-off-by: Felix Fietkau <nbd@nbd.name>
lilik-openwrt-22.03
Felix Fietkau 7 years ago
parent
commit
3412ddb2c0
3 changed files with 16 additions and 22 deletions
  1. +5
    -5
      net/rp-pppoe/patches/100-configure.patch
  2. +2
    -2
      net/rp-pppoe/patches/110-Makefile.patch
  3. +9
    -15
      net/rp-pppoe/patches/120-use-linux-ether-not-netinet.patch

+ 5
- 5
net/rp-pppoe/patches/100-configure.patch View File

@ -1,15 +1,15 @@
--- a/src/configure
+++ b/src/configure
@@ -3661,7 +3661,7 @@ done
@@ -3691,7 +3691,7 @@ done
for ac_header in linux/if.h
do :
- ac_fn_c_check_header_compile "$LINENO" "linux/if.h" "ac_cv_header_linux_if_h" "#include<sys/socket.h>
+ ac_fn_c_check_header_compile "$LINENO" "linux/if.h" "ac_cv_header_linux_if_h" "#include <sys/socket.h>
"
if test "x$ac_cv_header_linux_if_h" = x""yes; then :
if test "x$ac_cv_header_linux_if_h" = xyes; then :
cat >>confdefs.h <<_ACEOF
@@ -3675,10 +3675,11 @@ done
@@ -3705,10 +3705,11 @@ done
for ac_header in linux/if_pppox.h
do :
ac_fn_c_check_header_compile "$LINENO" "linux/if_pppox.h" "ac_cv_header_linux_if_pppox_h" "
@ -24,8 +24,8 @@
+#include <linux/in6.h>
"
if test "x$ac_cv_header_linux_if_pppox_h" = x""yes; then :
@@ -4611,7 +4612,7 @@ esac
if test "x$ac_cv_header_linux_if_pppox_h" = xyes; then :
@@ -4644,7 +4645,7 @@ esac
$as_echo_n "checking packing order of bit fields... " >&6; }
if test "${rpppoe_cv_pack_bitfields+set}" != set ; then
if test "$cross_compiling" = yes; then :


+ 2
- 2
net/rp-pppoe/patches/110-Makefile.patch View File

@ -7,5 +7,5 @@
- @CC@ -o $@ @RDYNAMIC@ $^ $(LDFLAGS) $(PPPOE_SERVER_LIBS) -Llibevent -levent
+ @CC@ -o $@ @RDYNAMIC@ $^ $(LDFLAGS) $(PPPOE_SERVER_LIBS)
pppoe: pppoe.o if.o debug.o common.o ppp.o discovery.o
@CC@ -o $@ $^ $(LDFLAGS)
# Experimental code from Savoir Faire Linux. I do not consider it
# production-ready, so not part of the official distribution.

+ 9
- 15
net/rp-pppoe/patches/120-use-linux-ether-not-netinet.patch View File

@ -1,8 +1,6 @@
Index: rp-pppoe-3.11/src/configure
===================================================================
--- rp-pppoe-3.11.orig/src/configure 2016-05-21 23:42:58.142423086 -0400
+++ rp-pppoe-3.11/src/configure 2016-05-21 23:42:58.178423086 -0400
@@ -3646,7 +3646,7 @@
--- a/src/configure
+++ b/src/configure
@@ -3676,7 +3676,7 @@ fi
done
@ -11,11 +9,9 @@ Index: rp-pppoe-3.11/src/configure
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"
Index: rp-pppoe-3.11/src/if.c
===================================================================
--- rp-pppoe-3.11.orig/src/if.c 2012-08-17 14:31:25.000000000 -0400
+++ rp-pppoe-3.11/src/if.c 2016-05-21 23:45:13.546423086 -0400
@@ -30,10 +30,6 @@
--- a/src/if.c
+++ b/src/if.c
@@ -30,10 +30,6 @@ static char const RCSID[] =
#include <linux/if_packet.h>
#endif
@ -26,11 +22,9 @@ Index: rp-pppoe-3.11/src/if.c
#ifdef HAVE_ASM_TYPES_H
#include <asm/types.h>
#endif
Index: rp-pppoe-3.11/src/plugin.c
===================================================================
--- rp-pppoe-3.11.orig/src/plugin.c 2012-08-17 14:31:25.000000000 -0400
+++ rp-pppoe-3.11/src/plugin.c 2016-05-21 23:43:55.314423086 -0400
@@ -49,7 +49,6 @@
--- a/src/plugin.c
+++ b/src/plugin.c
@@ -49,7 +49,6 @@ static char const RCSID[] =
#include <unistd.h>
#include <fcntl.h>
#include <signal.h>


Loading…
Cancel
Save