bump version
[buildroot.git] / package / rp-pppoe / rp-pppoe-3.8-001-configure-bitfield.patch
blobb6b288faaf4a3fdf2ccae03f43640906d6dfa6b7
1 diff -rdup rp-pppoe-3.8.oorig/src/configure.in rp-pppoe-3.8/src/configure.in
2 --- rp-pppoe-3.8.oorig/src/configure.in 2006-04-02 16:29:42.000000000 +0200
3 +++ rp-pppoe-3.8/src/configure.in 2007-08-24 11:51:04.000000000 +0200
4 @@ -221,6 +221,7 @@ esac
6 dnl Figure out packing order of structures
7 AC_MSG_CHECKING([packing order of bit fields])
8 +if test "x$rpppoe_cv_pack_bitfields" = "x" ; then
9 AC_TRY_RUN([
10 union foo {
11 struct bar {
12 @@ -244,8 +245,8 @@ main(void)
13 return 2;
15 }], rpppoe_cv_pack_bitfields=normal, rpppoe_cv_pack_bitfields=rev,
16 -$ECHO "no defaults for cross-compiling"; exit 0)
18 +$ECHO "no defaults for cross-compiling")
19 +fi
20 if test "$rpppoe_cv_pack_bitfields" = "rev" ; then
21 AC_MSG_RESULT(reversed)
22 AC_DEFINE(PACK_BITFIELDS_REVERSED)