Hello On Wed, Jun 10, 2009 at 5:33 AM, James Westby<james.wes...@ubuntu.com> wrote: > Package: sniffit > Version: 0.3.7.beta-13 > Severity: normal > Tags: patch > User: ubuntu-de...@lists.ubuntu.com > Usertags: origin-ubuntu karmic ubuntu-patch > > Hi, > > In http://launchpad.net/bugs/107180 it was reported that sniffit would > crash sometimes. It was found to be because it missed some #include > statements, > and so was compiled with the wrong prototypes for some functions. > > Karoly Segesdi provided the attached patch to fix this. Please consider > applying it. > > Thanks, > > James
The patch fails trying to patch sn_interface.c. applying patch 01-headers to ./ ... patching file sniffit.0.3.7.c patching file sn_interface.c Hunk #1 FAILED at 6. 1 out of 1 hunk FAILED -- saving rejects to file sn_interface.c.rej patching file sn_logfile.c patching file Makefile.in patching file sn_cfgfile.c patching file sn_generation.c patching file sn_packets.c patching file sniffit.h Hunk #1 succeeded at 5 with fuzz 2 (offset 2 lines). I see in the patch, #include <termios.h>: #ifdef INCLUDE_INTERFACE #include <signal.h> #include <termios.h> + #include <stdlib.h> #include <unistd.h> + #include <string.h> #include <sys/ipc.h> #include <sys/shm.h> #include "sn_curses.h" But this header is not in the upstream source. Then I don't understand, the intention is add #include <termios.h>? Thanks > -- William Vera <bi...@billy.com.mx> PGP Key: 1024D/F5CC22A4 Fingerprint: 3E73 FA1F 5C57 6005 0439 4D75 1FD2 BF96 F5CC 22A4 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org