=> Bootstrap dependency digest>=20010302: found digest-20080510
WARNING: [license.mk] Every package should define a LICENSE.
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for sniffit-0.3.5nb2
gcc -w -O2 -c  sn_packets.c  -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DNETBSD=1
gcc -w -O2 -c  sn_generation.c  -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DNETBSD=1
gcc -w -O2 -c  sn_interface.c  -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DNETBSD=1
gcc -w -O2 -c sn_cfgfile.c  -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DNETBSD=1
gcc -w -O2 -c  sn_logfile.c  -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DNETBSD=1
gcc -w -O2 -o sniffit sniffit.0.3.5.c sn_packets.o sn_generation.o sn_interface.o sn_cfgfile.o  sn_logfile.o -lpcap -L/usr/lib -Wl,-rpath,/usr/lib -Wl,-rpath,/usr/pkg/lib -lncurses -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DNETBSD=1 
In file included from sniffit.0.3.5.c:21:
./pcap.h:135:7: error: conflicting types for 'bpf_filter'
u_int   bpf_filter(struct bpf_insn *, u_char *, u_int, u_int);
        ^
/usr/include/net/bpf.h:364:8: note: previous declaration is here
u_int    bpf_filter(const struct bpf_insn *, const u_char *, u_int, u_int);
         ^
sniffit.0.3.5.c:858:3: error: non-void function 'packethandler' should return a value [-Wreturn-type]
                return;                         /* Packet is not for us */
                ^
sniffit.0.3.5.c:920:29: error: non-void function 'packethandler' should return a value [-Wreturn-type]
                        if(finish==TCP_FINISH) return;      
                                               ^
sniffit.0.3.5.c:924:5: error: non-void function 'packethandler' should return a value [-Wreturn-type]
                                return;
                                ^
sniffit.0.3.5.c:971:9: error: non-void function 'packethandler' should return a value [-Wreturn-type]
                return;
                ^
sniffit.0.3.5.c:989:6: error: non-void function 'packethandler' should return a value [-Wreturn-type]
                                        return;
                                        ^
sniffit.0.3.5.c:1007:5: error: non-void function 'packethandler' should return a value [-Wreturn-type]
                  return;
                  ^
sniffit.0.3.5.c:1022:27: error: non-void function 'packethandler' should return a value [-Wreturn-type]
                  if(dummy&FIN) return; /* needed, cauz entry don't exist  */  
                                ^
sniffit.0.3.5.c:1121:5: error: non-void function 'packethandler' should return a value [-Wreturn-type]
                  return;
                  ^
sniffit.0.3.5.c:1123:3: error: non-void function 'packethandler' should return a value [-Wreturn-type]
                return;  /* DON'T FORGET THEM!!!! */
                ^
sniffit.0.3.5.c:1176:3: error: non-void function 'packethandler' should return a value [-Wreturn-type]
                return;
                ^
sniffit.0.3.5.c:1207:3: error: non-void function 'packethandler' should return a value [-Wreturn-type]
                return;
                ^
12 errors generated.
*** Error code 1

Stop.
make: stopped in /scratch/net/sniffit/work/sniffit.0.3.5
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/net/sniffit
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/net/sniffit
