wireshark_1.0.5: patch for IEEE80215.4 to have 'nofcs' dissector by default
authorSergey Lapin <slapin@ossfans.org>
Mon, 16 Feb 2009 06:40:08 +0000 (09:40 +0300)
committerSergey Lapin <slapin@ossfans.org>
Mon, 16 Feb 2009 06:51:34 +0000 (09:51 +0300)
packages/wireshark/files/ieee80215.4.patch [new file with mode: 0644]
packages/wireshark/wireshark_1.0.5.bb

diff --git a/packages/wireshark/files/ieee80215.4.patch b/packages/wireshark/files/ieee80215.4.patch
new file mode 100644 (file)
index 0000000..8bcdd93
--- /dev/null
@@ -0,0 +1,9 @@
+--- wireshark-1.0.5.orig/epan/dissectors/packet-ieee802154.c
++++ wireshark-1.0.5/epan/dissectors/packet-ieee802154.c
+@@ -1696,7 +1696,7 @@
+     dissector_handle_t  ieee802154_handle;
+     /* Get the dissector handles. */
+-    ieee802154_handle   = find_dissector("wpan");
++    ieee802154_handle   = find_dissector("wpan_nofcs");
+     data_handle         = find_dissector("data");
index 0af858e..aa8e66c 100644 (file)
@@ -6,9 +6,11 @@ DEPENDS = "perl-native gnutls libpcap pcre expat glib-2.0 libsmi gtk+"
 EXTRA_OECONF = "--disable-usrlocal --with-pcap=${STAGING_DIR_HOST}${layout_prefix} \
                 --with-libsmi=${STAGING_DIR_HOST}${layout_prefix} --enable-tshark --enable-wireshark"
 
-PR = "r4"
+PR = "r5"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/wireshark/wireshark-${PV}.tar.bz2 \
+           file://ieee80215.4.patch;patch=1"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/wireshark/wireshark-${PV}.tar.bz2"
 ARM_INSTRUCTION_SET = "arm"
 
 PACKAGES += "libwireshark1-dev libwireshark1 libwireshark1-dbg"