summaryrefslogtreecommitdiff
path: root/package/rp-pppoe/rp-pppoe-3.8-001-configure-bitfield.patch
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-08-24 10:43:45 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-08-24 10:43:45 +0000
commit3c4690edd392e7723829359f35f8d0636730acbb (patch)
treed4441392351fef11c41d711f4c3107626c624b49 /package/rp-pppoe/rp-pppoe-3.8-001-configure-bitfield.patch
parent76df40c16f5492fddbb015c856aad3bd1f13c1b1 (diff)
- add rp-pppoe
Diffstat (limited to 'package/rp-pppoe/rp-pppoe-3.8-001-configure-bitfield.patch')
-rw-r--r--package/rp-pppoe/rp-pppoe-3.8-001-configure-bitfield.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/rp-pppoe/rp-pppoe-3.8-001-configure-bitfield.patch b/package/rp-pppoe/rp-pppoe-3.8-001-configure-bitfield.patch
new file mode 100644
index 000000000..b6b288faa
--- /dev/null
+++ b/package/rp-pppoe/rp-pppoe-3.8-001-configure-bitfield.patch
@@ -0,0 +1,22 @@
+diff -rdup rp-pppoe-3.8.oorig/src/configure.in rp-pppoe-3.8/src/configure.in
+--- rp-pppoe-3.8.oorig/src/configure.in 2006-04-02 16:29:42.000000000 +0200
++++ rp-pppoe-3.8/src/configure.in 2007-08-24 11:51:04.000000000 +0200
+@@ -221,6 +221,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 {
+@@ -244,8 +245,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)