board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / wireshark / 0001-configure.ac-do-not-assume-broken-inet_pton-in-case-.patch
blob1e44ad09428060fae10f4b070ca83634f2605a24
1 From 25d313275e87dc236e86c0e713cad08ea64253f8 Mon Sep 17 00:00:00 2001
2 From: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
3 Date: Thu, 8 Sep 2016 10:58:34 +0100
4 Subject: [PATCH] configure.ac: do not assume broken inet_pton in case of cross
5 compiling
7 Patch configure.ac to not assume broken inet_pton in case of cross
8 compiling.
10 [Vincent: adapt the patch for 2.2.0]
12 Signed-off-by: Peter Seiderer <ps.report@gmx.net>
13 Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
14 ---
15 configure.ac | 4 ++--
16 1 file changed, 2 insertions(+), 2 deletions(-)
18 diff --git a/configure.ac b/configure.ac
19 index c43e366..9672831 100644
20 --- a/configure.ac
21 +++ b/configure.ac
22 @@ -2373,8 +2373,8 @@ int main()
23 #endif
24 }], [AC_MSG_RESULT(ok);
25 have_inet_pton=yes], [AC_MSG_RESULT(broken);
26 -have_inet_pton=no], [AC_MSG_RESULT([cross compiling, assume it is broken]);
27 -have_inet_pton=no])],
28 +have_inet_pton=no], [AC_MSG_RESULT([cross compiling, assume it is broken... not here]);
29 +have_inet_pton=yes])],
30 have_inet_pton=no)
31 if test "$have_inet_pton" = no; then
32 AC_LIBOBJ(inet_pton)
33 --
34 2.7.3