diff options
author | Dai Caiyun <daicy.fnst@cn.fujitsu.com> | 2016-01-06 21:00:33 -0800 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2016-01-20 21:41:43 -0500 |
commit | 829fe87b14eb21bbbea42521aff0020cd59e4bdc (patch) | |
tree | 4fca3c9cf4c064e53ac189a42f2924742e1d1d32 /meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/configure.in-Error-fix.patch | |
parent | 28b009f98e93b72efc7b65842cdac140202d9002 (diff) | |
download | meta-openembedded-829fe87b14eb21bbbea42521aff0020cd59e4bdc.tar.gz |
rp-pppoe: 3.11 -> 3.12
Upgrade rp-pppoe from 3.11 to 3.12.
Signed-off-by: Dai Caiyun <daicy.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/configure.in-Error-fix.patch')
-rw-r--r-- | meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/configure.in-Error-fix.patch | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/configure.in-Error-fix.patch b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/configure.in-Error-fix.patch new file mode 100644 index 000000000..2661fd3db --- /dev/null +++ b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/configure.in-Error-fix.patch | |||
@@ -0,0 +1,59 @@ | |||
1 | From 71956de46feef962dc0645af4c81ae074ca3b818 Mon Sep 17 00:00:00 2001 | ||
2 | From: Lei Maohui <leimaohui@cn.fujitsu.com> | ||
3 | Date: Wed, 19 Aug 2015 13:52:57 +0900 | ||
4 | Subject: [PATCH] configure.in: Error fix. | ||
5 | |||
6 | the error is: conftest.c:9:28: fatal error: ac_nonexistent.h: | ||
7 | No such file or directory #include <ac_nonexistent.h> | ||
8 | |||
9 | Upstream-Status: pending | ||
10 | |||
11 | Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> | ||
12 | --- | ||
13 | src/configure.in | 30 ------------------------------ | ||
14 | 1 file changed, 30 deletions(-) | ||
15 | |||
16 | diff --git a/src/configure.in b/src/configure.in | ||
17 | index 0b23df5..31c7fbc 100644 | ||
18 | --- a/src/configure.in | ||
19 | +++ b/src/configure.in | ||
20 | @@ -193,36 +193,6 @@ if test "$GCC" = yes; then | ||
21 | CFLAGS="$CFLAGS -fno-strict-aliasing -Wall -Wstrict-prototypes" | ||
22 | fi | ||
23 | |||
24 | -dnl Figure out packing order of structures | ||
25 | -AC_CACHE_CHECK([packing order of bit fields],rpppoe_cv_pack_bitfields,[ | ||
26 | -if test "${rpppoe_cv_pack_bitfields+set}" != set ; then | ||
27 | -AC_TRY_RUN([ | ||
28 | -union foo { | ||
29 | - struct bar { | ||
30 | - unsigned int ver:4; | ||
31 | - unsigned int type:4; | ||
32 | - } bb; | ||
33 | - unsigned char baz; | ||
34 | -}; | ||
35 | - | ||
36 | -int | ||
37 | -main(void) | ||
38 | -{ | ||
39 | - union foo x; | ||
40 | - x.bb.ver = 1; | ||
41 | - x.bb.type = 2; | ||
42 | - if (x.baz == 0x21) { | ||
43 | - return 1; | ||
44 | - } else if (x.baz == 0x12) { | ||
45 | - return 0; | ||
46 | - } else { | ||
47 | - return 2; | ||
48 | - } | ||
49 | -}], rpppoe_cv_pack_bitfields=normal, rpppoe_cv_pack_bitfields=rev, | ||
50 | -$ECHO "no defaults for cross-compiling"; exit 1) | ||
51 | -fi | ||
52 | -]) | ||
53 | - | ||
54 | if test "$rpppoe_cv_pack_bitfields" = "rev" ; then | ||
55 | AC_MSG_RESULT(reversed) | ||
56 | AC_DEFINE([PACK_BITFIELDS_REVERSED], [], [Reversed bitfields]) | ||
57 | -- | ||
58 | 1.8.4.2 | ||
59 | |||