summaryrefslogtreecommitdiff
path: root/community/ekg2/ekg2-0.3.1-giflib5.patch
blob: f0e6885c0ae1162222302f3d96f0d3bc03029586 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -rupN a/plugins/gg/commands.c b/plugins/gg/commands.c
--- a/plugins/gg/commands.c	2011-03-17 18:08:11.000000000 +0100
+++ b/plugins/gg/commands.c	2013-07-29 18:45:51.296790942 +0200
@@ -1034,7 +1034,7 @@ static int token_gif_load (char *fname,
 		goto err;
 	}
 	
-	if (!(file = DGifOpenFileHandle(fd))) {
+	if (!(file = DGifOpenFileHandle(fd, NULL))) {
 		snprintf(errbuf, sizeof(errbuf), "DGifOpenFileHandle(): %d", 
 			GifLastError());
 		goto err2;