summaryrefslogtreecommitdiff
path: root/media-gfx/metapixel/files/metapixel-1.0.2-giflib5.patch
blob: b543dc4c783bf2b3fcbedecf80d3c1f0aadb4958 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff -u metapixel-1.0.2/debian/changelog metapixel-1.0.2/debian/changelog
--- metapixel-1.0.2.orig/rwimg/rwgif.c
+++ metapixel-1.0.2/rwimg/rwgif.c
@@ -54,7 +54,7 @@
     
     assert(data != 0);
     
-    data->file = DGifOpenFileName(filename);
+    data->file = DGifOpenFileName(filename, NULL);
     
     assert(data->file !=0);
         
@@ -137,7 +137,7 @@
     }
     free(buffer);
     
-    assert(DGifCloseFile(data->file) == GIF_OK);
+    assert(DGifCloseFile(data->file, NULL) == GIF_OK);
     
     return data;
 }