Skip to contentSkip to conversation

ettercap: Do not generate #line directives with bison/flex

PATCH New Khem Raj 1 participant 1 message May 28, 2023

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 ettercap: Do not generate #line directives with bison/flex

Fixes
File /usr/src/debug/ettercap/0.8.3.1-r0/utils/ef_grammar.c in package ettercap-src contains reference to TMPDIR

---
 meta-networking/recipes-support/ettercap/ettercap_0.8.3.1.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-networking/recipes-support/ettercap/ettercap_0.8.3.1.bb +2 -0
index 6c07223b31..723d7c8f78 100644
@@ -32,6 +32,8 @@ EXTRA_OECMAKE = " \
     -DBUNDLED_LIBS=ON \
     -DENABLE_IPV6=ON \
     -DENABLE_GTK=OFF \
+    -DFLEX_TARGET_ARG_COMPILE_FLAGS='--noline' \
+    -DBISON_TARGET_ARG_COMPILE_FLAGS='--no-lines' \
 "
 
 CFLAGS += "-D_GNU_SOURCE"
Signature · 1 line
2.40.1