From c11b5b905b110b8a5426b7f391c2b4fb26200177 Mon Sep 17 00:00:00 2001 From: cshore Date: Sat, 1 Dec 2012 17:02:42 +0000 Subject: [PATCH] [packages] rp-pppoe: Fix configure test for kernel mode pppoe header which fails due to bad includes in configure test git-svn-id: svn://svn.openwrt.org/openwrt/packages@34433 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/rp-pppoe/patches/100-configure.patch | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/net/rp-pppoe/patches/100-configure.patch b/net/rp-pppoe/patches/100-configure.patch index d8af0c36c..784ff7302 100644 --- a/net/rp-pppoe/patches/100-configure.patch +++ b/net/rp-pppoe/patches/100-configure.patch @@ -1,6 +1,32 @@ --- a/src/configure +++ b/src/configure -@@ -6303,7 +6303,7 @@ +@@ -3610,7 +3610,7 @@ _ACEOF + cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ +-#include ++#include + + #include <$ac_header> + _ACEOF +@@ -3669,11 +3669,11 @@ cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + +-#include +-#include +-#include +-#include +- ++#include ++#include ++#include ++#include ++#include + + #include <$ac_header> + _ACEOF +@@ -6272,7 +6272,7 @@ esac { echo "$as_me:$LINENO: checking packing order of bit fields" >&5 echo $ECHO_N "checking packing order of bit fields... $ECHO_C" >&6; } if test "$cross_compiling" = yes; then -- 2.11.0