diff mbox series

[meta-networking,09/24] ettercap: upgrade 0.8.4.1 -> 0.8.5.1

Message ID 20261112064225.2410019-9-khem.raj@oss.qualcomm.com
State New
Headers show
Series [meta-networking,01/24] frr: upgrade 10.6.2 -> 10.7.1 | expand

Commit Message

Khem Raj Nov. 12, 2026, 6:42 a.m. UTC
Refresh 0001-ec.h-do-not-strip-a-pre-existing-_GNU_SOURCE-define.patch.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 .../ettercap/{ettercap_0.8.4.1.bb => ettercap_0.8.5.1.bb} | 2 +-
 ...h-do-not-strip-a-pre-existing-_GNU_SOURCE-define.patch | 8 ++++++--
 2 files changed, 7 insertions(+), 3 deletions(-)
 rename meta-networking/recipes-support/ettercap/{ettercap_0.8.4.1.bb => ettercap_0.8.5.1.bb} (96%)
diff mbox series

Patch

diff --git a/meta-networking/recipes-support/ettercap/ettercap_0.8.4.1.bb b/meta-networking/recipes-support/ettercap/ettercap_0.8.5.1.bb
similarity index 96%
rename from meta-networking/recipes-support/ettercap/ettercap_0.8.4.1.bb
rename to meta-networking/recipes-support/ettercap/ettercap_0.8.5.1.bb
index 9a2090719b..8ec930d39c 100644
--- a/meta-networking/recipes-support/ettercap/ettercap_0.8.4.1.bb
+++ b/meta-networking/recipes-support/ettercap/ettercap_0.8.5.1.bb
@@ -25,7 +25,7 @@  SRC_URI = "gitsm://github.com/Ettercap/ettercap;branch=master;protocol=https;tag
            file://0001-ec.h-do-not-strip-a-pre-existing-_GNU_SOURCE-define.patch \
            "
 
-SRCREV = "0dc8409779f3a09cbfff4434b9a4d7b33480d88d"
+SRCREV = "832524f3c4c215f1007fe9f190dbf052ee965b55"
 
 EXTRA_OECMAKE = " \
     -DCMAKE_SKIP_RPATH=TRUE \
diff --git a/meta-networking/recipes-support/ettercap/files/0001-ec.h-do-not-strip-a-pre-existing-_GNU_SOURCE-define.patch b/meta-networking/recipes-support/ettercap/files/0001-ec.h-do-not-strip-a-pre-existing-_GNU_SOURCE-define.patch
index 126d37ff50..8beb540334 100644
--- a/meta-networking/recipes-support/ettercap/files/0001-ec.h-do-not-strip-a-pre-existing-_GNU_SOURCE-define.patch
+++ b/meta-networking/recipes-support/ettercap/files/0001-ec.h-do-not-strip-a-pre-existing-_GNU_SOURCE-define.patch
@@ -24,13 +24,16 @@  intact for the remainder of the translation unit.
 
 Upstream-Status: Pending
 Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
+
 ---
  include/ec.h | 8 ++++++--
  1 file changed, 6 insertions(+), 2 deletions(-)
 
+diff --git a/include/ec.h b/include/ec.h
+index 5536982..9723755 100644
 --- a/include/ec.h
 +++ b/include/ec.h
-@@ -20,19 +20,23 @@
+@@ -20,20 +20,24 @@
  
  #if !defined (__USE_GNU)   /* for memmem(), strsignal(), etc etc... */
     #define __USE_GNU
@@ -44,6 +47,7 @@  Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
     #define _REENTRANT      /* for strtok_r() */
  #endif
  #include <string.h>
+ #include <unistd.h>        /* for setresuid() and setresgid() */
 -#if defined (__USE_GNU)
 +#if defined (EC_UNDEF_USE_GNU)
     #undef __USE_GNU
@@ -55,4 +59,4 @@  Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
 +   #undef EC_UNDEF_GNU_SOURCE
  #endif
  #include <strings.h>
- #include <unistd.h>
+ #include <time.h>