Changes between Initial Version and Version 3 of Ticket #13116
- Timestamp:
- Nov 7, 2007, 6:31:06 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #13116 – Description
initial v3 1 1 When one tries to install ettercap-ng by "sudo port install ettercap-ng" the compilation fails with a message: 2 2 3 {{{ 3 4 ---> Building ettercap-ng with target all 4 5 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_ettercap-ng/work/ettercap-NG-0.7.3" && make all " returned error 2 … … 33 34 make[1]: *** [all-recursive] Error 1 34 35 make: *** [all-recursive] Error 1 36 }}} 35 37 36 38 Commentary: … … 38 40 Upon brief analysis of this code, I think the reason why this is happening is because a "typedef unsigned char u_char" got removed somewhere. Here are the patches to fix it: 39 41 42 {{{ 40 43 --- ettercap-NG-0.7.3.old/src/interfaces/curses/widgets/wdg.c 2004-03-18 09:22:19.000000000 -0500 41 44 +++ ettercap-NG-0.7.3.new/src/interfaces/curses/widgets/wdg.c 2007-11-03 01:43:01.000000000 -0400 … … 123 126 /* object size */ 124 127 extern size_t wdg_get_nlines(wdg_t *wo); 125 128 }}} 126 129 127 130 Since this is my first bug report, I'm sorry if I breached some mysterious protocol that I don't know about or I botched up the diff files since it's my first time.