]> git.pld-linux.org Git - packages/ettercap.git/commitdiff
- use LT_MODULE_EXT instead of LTDL_SHLIB_EXT (PLUGIN_PATTERN infludes the *
authorsparky <sparky@pld-linux.org>
Sat, 19 Jun 2010 14:01:57 +0000 (14:01 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  wildcard already); patch required to rebuild auto*

Changed files:
    ettercap-shlib_ext.patch -> 1.1

ettercap-shlib_ext.patch [new file with mode: 0644]

diff --git a/ettercap-shlib_ext.patch b/ettercap-shlib_ext.patch
new file mode 100644 (file)
index 0000000..7a4e25d
--- /dev/null
@@ -0,0 +1,26 @@
+diff --git a/include/ec_os_mingw.h b/include/ec_os_mingw.h
+index 51b8ca9..2741e39 100644
+--- a/include/ec_os_mingw.h
++++ b/include/ec_os_mingw.h
+@@ -163,7 +163,7 @@ EC_API_EXTERN const char *ec_win_get_ec_dir (void);
+  */
+ #if !defined(HAVE_DLOPEN)
+    #define RTLD_NOW 0
+-   #define LTDL_SHLIB_EXT       "*.dll"
++   #define LT_MODULE_EXT       ".dll"
+    #define dlopen(dll,flg)      ec_win_dlopen (dll, flg)
+    #define lt_dlopen(dll)       ec_win_dlopen (dll, 0)
+diff --git a/src/ec_plugins.c b/src/ec_plugins.c
+index 88c3c46..ffe16c5 100644
+--- a/src/ec_plugins.c
++++ b/src/ec_plugins.c
+@@ -131,7 +131,7 @@ int plugin_filter(struct dirent *d)
+ 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;
This page took 0.065598 seconds and 4 git commands to generate.