Index: head/net-mgmt/driftnet/files/patch-gif.c =================================================================== --- head/net-mgmt/driftnet/files/patch-gif.c (nonexistent) +++ head/net-mgmt/driftnet/files/patch-gif.c (revision 375620) @@ -0,0 +1,14 @@ +--- gif.c.orig 2002-07-09 19:26:41 UTC ++++ gif.c +@@ -20,7 +20,11 @@ static const char rcsid[] = "$Id: gif.c, + */ + int gif_load_hdr(img I) { + GifFileType *g; ++#if GIFLIB_MAJOR >= 5 ++ g = I->us = DGifOpenFileHandle(fileno(I->fp), NULL); ++#else + g = I->us = DGifOpenFileHandle(fileno(I->fp)); ++#endif + if (!I->us) { + I->err = IE_HDRFORMAT; + return 0; Property changes on: head/net-mgmt/driftnet/files/patch-gif.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property