summaryrefslogtreecommitdiffstats
path: root/package/rp-pppoe/rp-pppoe-3.10-001-configure-bitfield.patch
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2010-11-02 16:32:36 -0300
committerPeter Korsgaard <jacmet@sunsite.dk>2010-11-04 23:31:12 +0100
commite9ae739ce757d73657ef860e21ccc78b3d55816e (patch)
treeae79012cddf2d10e6a6a53fb395fb9ea3137ace4 /package/rp-pppoe/rp-pppoe-3.10-001-configure-bitfield.patch
parent7c949cb2a23791e8baeeac32ae3d90869b07617d (diff)
downloadbuildroot-novena-e9ae739ce757d73657ef860e21ccc78b3d55816e.tar.gz
buildroot-novena-e9ae739ce757d73657ef860e21ccc78b3d55816e.zip
rp-pppoe: bump to version 3.10, convert to gentargets, undeprecate.
Most of the work from Darcy Watkins <dwatkins@tranzeo.com> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/rp-pppoe/rp-pppoe-3.10-001-configure-bitfield.patch')
-rw-r--r--package/rp-pppoe/rp-pppoe-3.10-001-configure-bitfield.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/package/rp-pppoe/rp-pppoe-3.10-001-configure-bitfield.patch b/package/rp-pppoe/rp-pppoe-3.10-001-configure-bitfield.patch
new file mode 100644
index 000000000..8cc472f31
--- /dev/null
+++ b/package/rp-pppoe/rp-pppoe-3.10-001-configure-bitfield.patch
@@ -0,0 +1,34 @@
+--- rp-pppoe-3.10.orig/src/configure.in 2006-04-02 16:29:42.000000000 +0200
++++ rp-pppoe-3.10/src/configure.in 2007-08-24 11:51:04.000000000 +0200
+@@ -231,6 +231,7 @@ esac
+
+ dnl Figure out packing order of structures
+ AC_MSG_CHECKING([packing order of bit fields])
++if test "x$rpppoe_cv_pack_bitfields" = "x" ; then
+ AC_TRY_RUN([
+ union foo {
+ struct bar {
+@@ -254,8 +255,8 @@ main(void)
+ return 2;
+ }
+ }], rpppoe_cv_pack_bitfields=normal, rpppoe_cv_pack_bitfields=rev,
+-$ECHO "no defaults for cross-compiling"; exit 0)
+-
++$ECHO "no defaults for cross-compiling")
++fi
+ if test "$rpppoe_cv_pack_bitfields" = "rev" ; then
+ AC_MSG_RESULT(reversed)
+ AC_DEFINE(PACK_BITFIELDS_REVERSED)
+--- rp-pppoe-3.10.orig/src/configure 2010-08-20 10:46:39.000000000 -0700
++++ rp-pppoe-3.10/src/configure 2010-08-20 11:02:16.000000000 -0700
+@@ -6272,7 +6272,9 @@ 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
+- $ECHO "no defaults for cross-compiling"; exit 0
++if test "x$rpppoe_cv_pack_bitfields" = "x" ; then
++ $ECHO "no defaults for cross-compiling"
++fi
+ else
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */