ettercap: upgrade 0.8.4.1 -> 0.8.5.1

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>
This commit is contained in:
Khem Raj committed 2026-11-12 20:21:05 -08:00
1 parent cc18b159f9
commit 475311c03a
2 files changed
+7 -3

No files matched your search

@@ -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 \
@@ -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>