Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 279585 Details for
Bug 374667
net-dialup/rp-pppoe fail to cross compile
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
files/rp-pppoe-3.10-BJA-configure-endianess.diff
rp-pppoe-3.10-BJA-configure-endianess.diff (text/plain), 1018 bytes, created by
Bertrand Jacquin
on 2011-07-10 09:53:04 UTC
(
hide
)
Description:
files/rp-pppoe-3.10-BJA-configure-endianess.diff
Filename:
MIME Type:
Creator:
Bertrand Jacquin
Created:
2011-07-10 09:53:04 UTC
Size:
1018 bytes
patch
obsolete
>--- rp-pppoe-3.10/src/configure.in.ori 2011-07-10 00:49:30.000000000 +0200 >+++ rp-pppoe-3.10/src/configure.in 2011-07-10 11:35:58.000000000 +0200 >@@ -230,37 +230,10 @@ > esac > > dnl Figure out packing order of structures >-AC_MSG_CHECKING([packing order of bit fields]) >-AC_TRY_RUN([ >-union foo { >- struct bar { >- unsigned int ver:4; >- unsigned int type:4; >- } bb; >- unsigned char baz; >-}; >+AC_C_BIGENDIAN() > >-int >-main(void) >-{ >- union foo x; >- x.bb.ver = 1; >- x.bb.type = 2; >- if (x.baz == 0x21) { >- return 1; >- } else if (x.baz == 0x12) { >- return 0; >- } else { >- return 2; >- } >-}], rpppoe_cv_pack_bitfields=normal, rpppoe_cv_pack_bitfields=rev, >-$ECHO "no defaults for cross-compiling"; exit 0) >- >-if test "$rpppoe_cv_pack_bitfields" = "rev" ; then >- AC_MSG_RESULT(reversed) >+if test "$ac_cv_c_bigendian" = "yes" ; then > AC_DEFINE(PACK_BITFIELDS_REVERSED, 1, [Define if bitfields are packed in reverse order]) >-else >- AC_MSG_RESULT(normal) > fi > > # Sigh... got to fix this up for tcl
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 374667
: 279585