summarylogtreecommitdiffstats
path: root/giflib-5.1.patch
blob: 22b75145abe140a87115e98a6bc9cc17df176e54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff -rup mathmap-1.3.5/rwimg/rwgif.c mathmap-1.3.5.new/rwimg/rwgif.c
--- mathmap-1.3.5/rwimg/rwgif.c	2009-08-23 13:56:14.000000000 +0200
+++ mathmap-1.3.5.new/rwimg/rwgif.c	2014-05-29 11:31:51.388388393 +0200
@@ -54,7 +54,7 @@ open_gif_file (const char *filename, int
     
     assert(data != 0);
     
-    data->file = DGifOpenFileName(filename);
+    data->file = DGifOpenFileName(filename, NULL);
     
     assert(data->file !=0);
         
@@ -137,7 +137,7 @@ open_gif_file (const char *filename, int
     }
     free(buffer);
     
-    assert(DGifCloseFile(data->file) == GIF_OK);
+    assert(DGifCloseFile(data->file, NULL) == GIF_OK);
     
     return data;
 }