Skip to contentSkip to conversation

wireshark: Fix do_package_qa Issue

PATCH In review Liu Yiding 2 participants 2 messages Feb 6

lore
Share & tools
lore

Liu Yiding

author
#0 lore raw

PATCH 1/1 wireshark: Fix do_package_qa Issue

There is no mate_grammar.c in new version of wireshark, so remove related sed.

---
 meta-networking/recipes-support/wireshark/wireshark_4.6.3.bb | 2 --
 1 file changed, 2 deletions(-)
meta-networking/recipes-support/wireshark/wireshark_4.6.3.bb +0 -2
index 2cf9693f5c..d06310e41e 100644
@@ -71,8 +71,6 @@ do_compile:append:class-target() {
     sed -i -e "s:** source file.*::g"  ${B}/wiretap/busmaster_parser.c
     sed -i -e "s:** source file.*::g"  ${B}/epan/protobuf_lang_parser.c
     sed -i -e "s:** source file.*::g"  ${B}/epan/dfilter/grammar.c
-    test -e ${B}/plugins/epan/mate/mate_grammar.c && \
-        sed -i -e "s:** source file.*::g"  ${B}/plugins/epan/mate/mate_grammar.c
 }
 
 do_install:append:class-native() {
Signature · 1 line
2.43.0
#1 lore raw
Quoted 12 lines · Yiding Liu (Fujitsu) via lists.openembedded.org

There is no mate_grammar.c in new version of wireshark, so remove related sed.

---
 meta-networking/recipes-support/wireshark/wireshark_4.6.3.bb | 2 --
 1 file changed, 2 deletions(-)
meta-networking/recipes-support/wireshark/wireshark_4.6.3.bb +0 -0
index 2cf9693f5c..d06310e41e 100644

meta-networking/recipes-support/wireshark/wireshark_4.6.3.bb do_compile:append:class-target() { · line 75

Quoted 5 lines
meta-networking/recipes-support/wireshark/wireshark_4.6.3.bb +0 -2
@@ -71,8 +71,6 @@ do_compile:append:class-target() {
     sed -i -e "s:** source file.*::g"  ${B}/wiretap/busmaster_parser.c
     sed -i -e "s:** source file.*::g"  ${B}/epan/protobuf_lang_parser.c
     sed -i -e "s:** source file.*::g"  ${B}/epan/dfilter/grammar.c
-    test -e ${B}/plugins/epan/mate/mate_grammar.c && \
-        sed -i -e "s:** source file.*::g"  ${B}/plugins/epan/mate/mate_grammar.c

Instead of deleting it, could you please convert the test to an "if"? The file exist when the plugins packageconfig is enabled.

Quoted 12 lines
meta-networking/recipes-support/wireshark/wireshark_4.6.3.bb +0 -1
 }
 
 do_install:append:class-native() {
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group.
View/Reply Online (#124224): https://lists.openembedded.org/g/openembedded-devel/message/124224
Mute This Topic: https://lists.openembedded.org/mt/117666448/6084445
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-