summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-networking/recipes-support/wireshark/files/fix_lemon_path.patch22
-rw-r--r--meta-networking/recipes-support/wireshark/wireshark_3.2.18.bb (renamed from meta-networking/recipes-support/wireshark/wireshark_3.2.15.bb)5
2 files changed, 25 insertions, 2 deletions
diff --git a/meta-networking/recipes-support/wireshark/files/fix_lemon_path.patch b/meta-networking/recipes-support/wireshark/files/fix_lemon_path.patch
new file mode 100644
index 0000000000..54438dd870
--- /dev/null
+++ b/meta-networking/recipes-support/wireshark/files/fix_lemon_path.patch
@@ -0,0 +1,22 @@
1Fix update to build for alt arch machine.
2
3Commit 9ca6e39c7ee26570e29dc87332ffb0f6c1d0e4a4 changed the UseLemon to use
4the target lemon built by the target wireshark. Revert to use the one built by
5wireshark-native.
6
7Upstream-Status: Inappropriate [configuration]
8Signed-off: Armin Kuster <akuster@mvista.com>
9
10Index: wireshark-3.2.18/cmake/modules/UseLemon.cmake
11===================================================================
12--- wireshark-3.2.18.orig/cmake/modules/UseLemon.cmake
13+++ wireshark-3.2.18/cmake/modules/UseLemon.cmake
14@@ -13,7 +13,7 @@ MACRO(ADD_LEMON_FILES _source _generated
15 # These files are generated as side-effect
16 ${_out}.h
17 ${_out}.out
18- COMMAND $<TARGET_FILE:lemon>
19+ COMMAND lemon
20 -T${_lemonpardir}/lempar.c
21 -d.
22 ${_in}
diff --git a/meta-networking/recipes-support/wireshark/wireshark_3.2.15.bb b/meta-networking/recipes-support/wireshark/wireshark_3.2.18.bb
index 36e84d0ccd..f9e22141c4 100644
--- a/meta-networking/recipes-support/wireshark/wireshark_3.2.15.bb
+++ b/meta-networking/recipes-support/wireshark/wireshark_3.2.18.bb
@@ -8,11 +8,12 @@ DEPENDS = "pcre expat glib-2.0 glib-2.0-native libgcrypt libgpg-error libxml2 bi
8 8
9DEPENDS_append_class-target = " wireshark-native chrpath-replacement-native " 9DEPENDS_append_class-target = " wireshark-native chrpath-replacement-native "
10 10
11SRC_URI = "https://1.eu.dl.wireshark.org/src/all-versions/wireshark-${PV}.tar.xz" 11SRC_URI = "https://1.eu.dl.wireshark.org/src/all-versions/wireshark-${PV}.tar.xz \
12 file://fix_lemon_path.patch "
12 13
13UPSTREAM_CHECK_URI = "https://1.as.dl.wireshark.org/src" 14UPSTREAM_CHECK_URI = "https://1.as.dl.wireshark.org/src"
14 15
15SRC_URI[sha256sum] = "32f6cfd67b00903a1bfca02ecc4ccf72db6b70d4fda33e4a099fefb03e849bdb" 16SRC_URI[sha256sum] = "bbe75d909b052fcd67a850f149f0d5b1e2531026fc2413946b48570293306887"
16 17
17PE = "1" 18PE = "1"
18 19