From e1bc3e758f9ef718fdf588b302f1bcf6890ed429 Mon Sep 17 00:00:00 2001 From: joerg Date: Tue, 13 Aug 2013 10:23:25 +0000 Subject: fix fallout from giflib update. --- net/driftnet/distinfo | 3 ++- net/driftnet/patches/patch-gif.c | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 net/driftnet/patches/patch-gif.c (limited to 'net/driftnet') diff --git a/net/driftnet/distinfo b/net/driftnet/distinfo index f025e78ffbc..bc3ac10a12e 100644 --- a/net/driftnet/distinfo +++ b/net/driftnet/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.6 2011/04/01 15:06:37 drochner Exp $ +$NetBSD: distinfo,v 1.7 2013/08/13 10:23:25 joerg Exp $ SHA1 (driftnet-0.1.6.tar.gz) = 279cb3a596f354e7e9c6ac3cc456b3d11dced2ff RMD160 (driftnet-0.1.6.tar.gz) = 01057f3cb992faa537a8b188e116c6f21016cfac Size (driftnet-0.1.6.tar.gz) = 36989 bytes SHA1 (patch-aa) = 4e995c7c7c811429bc4f4f6481104a899df707d4 SHA1 (patch-ab) = 5b6bc10901295c58d5607deab9bd25effbbbf950 +SHA1 (patch-gif.c) = 2d8a3eb735109f44d9da39b397813a9a6f2b1034 diff --git a/net/driftnet/patches/patch-gif.c b/net/driftnet/patches/patch-gif.c new file mode 100644 index 00000000000..d39e8e1bedb --- /dev/null +++ b/net/driftnet/patches/patch-gif.c @@ -0,0 +1,13 @@ +$NetBSD: patch-gif.c,v 1.1 2013/08/13 10:23:26 joerg Exp $ + +--- gif.c.orig 2013-08-12 16:49:30.000000000 +0000 ++++ gif.c +@@ -20,7 +20,7 @@ static const char rcsid[] = "$Id: gif.c, + */ + int gif_load_hdr(img I) { + GifFileType *g; +- g = I->us = DGifOpenFileHandle(fileno(I->fp)); ++ g = I->us = DGifOpenFileHandle(fileno(I->fp), NULL); + if (!I->us) { + I->err = IE_HDRFORMAT; + return 0; -- cgit v1.2.3