diff options
author | Lukas Gorris <lukas.gorris@gmail.com> | 2009-03-30 21:20:14 +0200 |
---|---|---|
committer | Lukas Gorris <lukas.gorris@gmail.com> | 2009-03-30 21:20:14 +0200 |
commit | a93dfebb9e7a34ffba9b1ae5e8e496dfab4c3c43 (patch) | |
tree | 6c38a4617c92398269e6603a0509fc3006811368 /recipes/tcpdump/files/no-ipv6-tcpdump4.patch | |
parent | 4255898da29e7e0c521d064afedbc4075b3e8155 (diff) | |
parent | d7fdcef3d8c8b80926d579c2db179b594429cebe (diff) |
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/tcpdump/files/no-ipv6-tcpdump4.patch')
-rw-r--r-- | recipes/tcpdump/files/no-ipv6-tcpdump4.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/recipes/tcpdump/files/no-ipv6-tcpdump4.patch b/recipes/tcpdump/files/no-ipv6-tcpdump4.patch new file mode 100644 index 0000000000..a399d0508f --- /dev/null +++ b/recipes/tcpdump/files/no-ipv6-tcpdump4.patch @@ -0,0 +1,22 @@ +Compiling tcpdump 4.0.0 without ipv6 - linking against ipv6less +libpcap too - generates the following error: + +print-enc.o: In function `enc_if_print': +print-enc.c:(.text+0xce): undefined reference to `ip6_print' +collect2: ld returned 1 exit status +make: *** [tcpdump] Error 1 + +--- tcpdump/print-enc.c.orig 2008-09-01 04:44:22 +0200 ++++ tcpdump/print-enc.c 2008-11-11 14:48:00 +0100 +@@ -77,9 +77,11 @@ + case AF_INET: + ip_print(gndo, p, length); + break; ++#ifdef INET6 + case AF_INET6: + ip6_print(p, length); + break; ++#endif + } + + out: |