Index: security/slurpie/Makefile =================================================================== --- security/slurpie/Makefile +++ security/slurpie/Makefile @@ -3,6 +3,7 @@ PORTNAME= slurpie PORTVERSION= 2.0b +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= ftp://ftp.openbsd.org/pub/OpenBSD/distfiles/ \ http://people.FreeBSD.org/~foxfair/distfiles/ Index: security/slurpie/files/patch-src_slurp.c =================================================================== --- /dev/null +++ security/slurpie/files/patch-src_slurp.c @@ -0,0 +1,11 @@ +--- src/slurp.c.orig 2015-12-10 12:43:56.022913000 -0800 ++++ src/slurp.c 2015-12-10 12:46:07.736794000 -0800 +@@ -194,7 +194,7 @@ int recv_init( u_char *initmsg ) + return 0; + // get file size and divide to determine portion of dictionary to process per task + fseek(wl.dictfile, 0, SEEK_END ); +- wl.ptask_size = wl.dictfile->_offset / cfg.ptask_level; ++ wl.ptask_size = ftell(wl.dictfile) / cfg.ptask_level; + pstr += strlen(pstr)+1; + } + if( cfg.mcl & CL_GDICT )