Thanks Daniel and Alexander,
the patch proposed by daniel works great.
i made a unified version that is applicable using patch.
how to apply it if you don't know better:
1. copy-paste the patch shown below to a file on your harddisk. on my
system the filename is /tmp/ettercap-NG-0.7.3_leopard.patch
2. download the package (you probably already did)
$> fink fetch ettercap
3. extract to /tmp
$> cd /tmp
$> tar xzf /sw/src/ettercap-NG-0.7.3.tar.gz
4. apply the patch
$> cd ettercap-NG-0.7.3
$> patch -p1 < /tmp/ettercap-NG-0.7.3_leopard.patch
5. repack and overwrite original package
$> cd /tmp
$> tar czf ettercap-NG-0.7.3.tar.gz ettercap-NG-0.7.3
$> sudo cp ettercap-NG-0.7.3.tar.gz /sw/src
6. install package
$> fink install ettercap
IMPORTANT: The md5 sum will not match the original one now, so you
have to answer
that you want to use the package anyways.
till
--- COPY BELOW THIS LINE ---
--- ettercap-NG-0.7.3_unchanged/src/interfaces/curses/widgets/
wdg.h 2004-09-28 15:50:37.000000000 +0200
+++ ettercap-NG-0.7.3/src/interfaces/curses/widgets/wdg.h
2008-02-28 17:31:27.000000000 +0100
@@ -21,12 +21,11 @@
#include <limits.h>
-#if defined HAVE_STDINT_H && !defined OS_SOLARIS
+#if defined HAVE_STDINT_H
#include <stdint.h>
-#elif !defined OS_SOLARIS
+#endif
+#if defined HAVE_SYS_TYPES_H
#include <sys/types.h>
-#elif defined OS_SOLARIS
- #include <sys/inttypes.h>
#endif
#ifndef TYPES_DEFINED
--- COPY ABOVE THIS LINE ---
> -#if defined HAVE_STDINT_H && !defined OS_SOLARIS
> +#if defined HAVE_STDINT_H
> #include <stdint.h>
> -#elif !defined OS_SOLARIS
> +#endif
> +#if defined HAVE_SYS_TYPES_H
> #include <sys/types.h>
> -#elif defined OS_SOLARIS
> - #include <sys/inttypes.h>
> #endif
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users