[oe-commits] Holger Hans Peter Freyther : ettercap-ng: Attempt to unbreak the build with a recent libtool

git version control git at git.openembedded.org
Tue Mar 23 08:07:50 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 86a524db965a46b1262d6f0ffcec1954cff4c5c0
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=86a524db965a46b1262d6f0ffcec1954cff4c5c0

Author: Holger Hans Peter Freyther <zecke at selfish.org>
Date:   Tue Mar 23 15:57:37 2010 +0800

ettercap-ng: Attempt to unbreak the build with a recent libtool

The variable for the plugin extension appears to have changed, at
least this value is "so" so it should work on the device.

---

 recipes/ettercap/ettercap-ng_0.7.3.bb  |    5 ++++-
 recipes/ettercap/files/configure.patch |   27 +++++++++++++++++++++++++++
 2 files changed, 31 insertions(+), 1 deletions(-)

diff --git a/recipes/ettercap/ettercap-ng_0.7.3.bb b/recipes/ettercap/ettercap-ng_0.7.3.bb
index 00bf64d..fea9302 100644
--- a/recipes/ettercap/ettercap-ng_0.7.3.bb
+++ b/recipes/ettercap/ettercap-ng_0.7.3.bb
@@ -5,8 +5,11 @@ SECTION = "console/network"
 DEPENDS = "virtual/libiconv libnet libpcap openssl libpcre ncurses zlib libtool"
 LICENSE = "GPL"
 
+PR = "r1"
+
 SRC_URI = "${SOURCEFORGE_MIRROR}/ettercap/ettercap-NG-${PV}.tar.gz \
-           file://autotools.patch;patch=1"
+           file://autotools.patch;patch=1 \
+           file://configure.patch;patch=1 "
 
 S = "${WORKDIR}/ettercap-NG-${PV}"
 
diff --git a/recipes/ettercap/files/configure.patch b/recipes/ettercap/files/configure.patch
new file mode 100644
index 0000000..4a6a5e3
--- /dev/null
+++ b/recipes/ettercap/files/configure.patch
@@ -0,0 +1,27 @@
+Index: ettercap-NG-0.7.3/configure.in
+===================================================================
+--- ettercap-NG-0.7.3.orig/configure.in	2010-03-23 15:41:37.021090022 +0800
++++ ettercap-NG-0.7.3/configure.in	2010-03-23 15:43:52.594188005 +0800
+@@ -198,6 +198,9 @@
+ dnl   Libtool related...
+ dnl ========================
+ 
++LT_INIT
++LTDL_INIT
++LT_CONFIG_LTDL_DIR([libltdl])
+ AC_DISABLE_STATIC
+ AC_LIBTOOL_WIN32_DLL
+ AC_LIBTOOL_DLOPEN
+Index: ettercap-NG-0.7.3/src/ec_plugins.c
+===================================================================
+--- ettercap-NG-0.7.3.orig/src/ec_plugins.c	2010-03-23 15:47:32.371100910 +0800
++++ ettercap-NG-0.7.3/src/ec_plugins.c	2010-03-23 15:48:20.644990548 +0800
+@@ -131,7 +131,7 @@
+ int plugin_filter(const struct dirent *d)
+ #endif
+ {
+-   if ( match_pattern(d->d_name, PLUGIN_PATTERN LTDL_SHLIB_EXT) )
++   if ( match_pattern(d->d_name, PLUGIN_PATTERN LT_MODULE_EXT) )
+       return 1;
+ 
+    return 0;





More information about the Openembedded-commits mailing list