784ff7302b89e188cb2e81e3eaf44d51d071e794
[packages.git] / net / rp-pppoe / patches / 100-configure.patch
1 --- a/src/configure
2 +++ b/src/configure
3 @@ -3610,7 +3610,7 @@ _ACEOF
4  cat confdefs.h >>conftest.$ac_ext
5  cat >>conftest.$ac_ext <<_ACEOF
6  /* end confdefs.h.  */
7 -#include<sys/socket.h>
8 +#include <sys/socket.h>
9  
10  #include <$ac_header>
11  _ACEOF
12 @@ -3669,11 +3669,11 @@ cat confdefs.h >>conftest.$ac_ext
13  cat >>conftest.$ac_ext <<_ACEOF
14  /* end confdefs.h.  */
15  
16 -#include<sys/socket.h>
17 -#include<net/ethernet.h>
18 -#include<linux/if.h>
19 -#include<linux/in.h>
20 -
21 +#include <sys/socket.h>
22 +#include <net/ethernet.h>
23 +#include <linux/if.h>
24 +#include <linux/in.h>
25 +#include <linux/in6.h>
26  
27  #include <$ac_header>
28  _ACEOF
29 @@ -6272,7 +6272,7 @@ esac
30  { echo "$as_me:$LINENO: checking packing order of bit fields" >&5
31  echo $ECHO_N "checking packing order of bit fields... $ECHO_C" >&6; }
32  if test "$cross_compiling" = yes; then
33 -  $ECHO "no defaults for cross-compiling"; exit 0
34 +  rpppoe_cv_pack_bitfields="$ac_cv_pack_bitfields"
35  else
36    cat >conftest.$ac_ext <<_ACEOF
37  /* confdefs.h.  */