summaryrefslogtreecommitdiff
path: root/community/gimp-plugin-mathmap/giflib-5.1.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/gimp-plugin-mathmap/giflib-5.1.patch')
-rw-r--r--community/gimp-plugin-mathmap/giflib-5.1.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/community/gimp-plugin-mathmap/giflib-5.1.patch b/community/gimp-plugin-mathmap/giflib-5.1.patch
new file mode 100644
index 000000000..22b75145a
--- /dev/null
+++ b/community/gimp-plugin-mathmap/giflib-5.1.patch
@@ -0,0 +1,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;
+ }