diff options
author | Roy Li <rongqing.li@windriver.com> | 2014-07-08 13:20:47 +0800 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2014-07-20 23:57:27 -0400 |
commit | be2a2437005087b3f8d43a09ddc69991ed81e110 (patch) | |
tree | d5ebb9df219228d8b8f8b446deab6a89c9f267a5 /meta-networking/recipes-support/tcpdump/tcpdump-4.5.1/tcpdump-cross-getaddrinfo.patch | |
parent | fb70d449341acebebd160dd4c2827c2b7cf46ea3 (diff) | |
download | meta-openembedded-be2a2437005087b3f8d43a09ddc69991ed81e110.tar.gz |
Uprev tcpdump to 4.5.1
1. update the patch tcpdump_configure_no_-O2.patch
2. do not check libdlpi dependence on cross-compile, or else it will
cause do_qa_configure to fail.
3. do not check libpcap dependence, since the libpcap has been added
into DEPENDS, or else it will cause do_qa_configure to fail
4. make the check of getaddrinfo work on cross-compile
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-support/tcpdump/tcpdump-4.5.1/tcpdump-cross-getaddrinfo.patch')
-rw-r--r-- | meta-networking/recipes-support/tcpdump/tcpdump-4.5.1/tcpdump-cross-getaddrinfo.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/tcpdump/tcpdump-4.5.1/tcpdump-cross-getaddrinfo.patch b/meta-networking/recipes-support/tcpdump/tcpdump-4.5.1/tcpdump-cross-getaddrinfo.patch new file mode 100644 index 0000000000..b414b72e9d --- /dev/null +++ b/meta-networking/recipes-support/tcpdump/tcpdump-4.5.1/tcpdump-cross-getaddrinfo.patch | |||
@@ -0,0 +1,23 @@ | |||
1 | Fix getaddinfo check when cross compiling | ||
2 | |||
3 | Upstream-Status: Pending. | ||
4 | |||
5 | AC_TRY_RUN defaults to td_cv_buggygetaddrinfo=yes when | ||
6 | cross-compiling. So this change indicates that we | ||
7 | are cross-compiling. | ||
8 | |||
9 | Signed-of-by: Aws Ismail <aws.ismail@windriver.com> | ||
10 | |||
11 | diff --git a/configure.in b/configure.in | ||
12 | index ca277c0..283035e 100644 | ||
13 | --- a/configure.in | ||
14 | +++ b/configure.in | ||
15 | @@ -434,7 +434,7 @@ main() | ||
16 | ], | ||
17 | td_cv_buggygetaddrinfo=no, | ||
18 | td_cv_buggygetaddrinfo=yes, | ||
19 | - td_cv_buggygetaddrinfo=yes)]) | ||
20 | + td_cv_buggygetaddrinfo=cross)]) | ||
21 | if test "$td_cv_buggygetaddrinfo" = no; then | ||
22 | AC_MSG_RESULT(good) | ||
23 | else | ||