From 7b9e14891f7d69b5376041fc15df3d5f13f41855 Mon Sep 17 00:00:00 2001 From: Nicolas Boichat Date: Fri, 23 Jul 2010 11:27:05 +0200 Subject: libpcap 1.1.1 recipe. Notes about patches from 1.0.0: - ieee80215-arphrd.patch: ported to 1.1.1 - aclocal.patch: does not seem to be needed (unsure) - 0001-Fix-some-problems-that-show-up-in-autoconf-2.64-and-.patch: same - ldflags.patch: fixed upstream Other main difference: - pcap-config is installed in the dev package, as well as in the staging directory. Signed-off-by: Koen Kooi --- .../libpcap/libpcap-1.1.1/ieee80215-arphrd.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 recipes/libpcap/libpcap-1.1.1/ieee80215-arphrd.patch (limited to 'recipes/libpcap/libpcap-1.1.1/ieee80215-arphrd.patch') diff --git a/recipes/libpcap/libpcap-1.1.1/ieee80215-arphrd.patch b/recipes/libpcap/libpcap-1.1.1/ieee80215-arphrd.patch new file mode 100644 index 0000000000..f29c7cb54c --- /dev/null +++ b/recipes/libpcap/libpcap-1.1.1/ieee80215-arphrd.patch @@ -0,0 +1,22 @@ +Index: libpcap-1.0.0/pcap-linux.c +=================================================================== +--- libpcap-1.0.0.orig/pcap-linux.c 2009-01-28 11:58:54.000000000 +0300 ++++ libpcap-1.0.0/pcap-linux.c 2009-01-28 11:59:04.000000000 +0300 +@@ -1616,6 +1616,17 @@ + * so let's use "Linux-cooked" mode. Jean II */ + //handle->md.cooked = 1; + break; ++#ifndef ARPHRD_IEEE80215 ++#define ARPHRD_IEEE80215 804 ++#endif ++#ifndef ARPHRD_IEEE80215_PHY ++#define ARPHRD_IEEE80215_PHY 805 ++#endif ++ ++ case ARPHRD_IEEE80215: ++ case ARPHRD_IEEE80215_PHY: ++ handle->linktype = DLT_IEEE802_15_4; ++ break; + + /* ARPHRD_LAPD is unofficial and randomly allocated, if reallocation + * is needed, please report it to */ -- cgit v1.2.3