tar: moved to github
[packages.git] / net / rp-pppoe / patches / 100-configure.patch
1 --- a/src/configure
2 +++ b/src/configure
3 @@ -3661,7 +3661,7 @@ done
4  
5  for ac_header in linux/if.h
6  do :
7 -  ac_fn_c_check_header_compile "$LINENO" "linux/if.h" "ac_cv_header_linux_if_h" "#include<sys/socket.h>
8 +  ac_fn_c_check_header_compile "$LINENO" "linux/if.h" "ac_cv_header_linux_if_h" "#include <sys/socket.h>
9  "
10  if test "x$ac_cv_header_linux_if_h" = x""yes; then :
11    cat >>confdefs.h <<_ACEOF
12 @@ -3675,10 +3675,11 @@ done
13  for ac_header in linux/if_pppox.h
14  do :
15    ac_fn_c_check_header_compile "$LINENO" "linux/if_pppox.h" "ac_cv_header_linux_if_pppox_h" "
16 -#include<sys/socket.h>
17 -#include<net/ethernet.h>
18 -#include<linux/if.h>
19 -#include<linux/in.h>
20 +#include <sys/socket.h>
21 +#include <net/ethernet.h>
22 +#include <linux/if.h>
23 +#include <linux/in.h>
24 +#include <linux/in6.h>
25  
26  "
27  if test "x$ac_cv_header_linux_if_pppox_h" = x""yes; then :
28 @@ -4611,7 +4612,7 @@ esac
29  $as_echo_n "checking packing order of bit fields... " >&6; }
30  if test "${rpppoe_cv_pack_bitfields+set}" != set ; then
31  if test "$cross_compiling" = yes; then :
32 -  $ECHO "no defaults for cross-compiling"; exit 0
33 +  rpppoe_cv_pack_bitfields="$ac_cv_pack_bitfields"
34  else
35    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36  /* end confdefs.h.  */