summarylogtreecommitdiffstats
path: root/giflib-5.1.0.patch
diff options
context:
space:
mode:
Diffstat (limited to 'giflib-5.1.0.patch')
-rw-r--r--giflib-5.1.0.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/giflib-5.1.0.patch b/giflib-5.1.0.patch
new file mode 100644
index 000000000000..06505689af08
--- /dev/null
+++ b/giflib-5.1.0.patch
@@ -0,0 +1,21 @@
+diff -up src/windowmaker-crm-git/wrlib/load_gif.c.orig src/windowmaker-crm-git/wrlib/load_gif.c
+--- src/windowmaker-crm-git/wrlib/load_gif.c.orig 2014-06-18 04:27:12.000000000 -0600
++++ src/windowmaker-crm-git/wrlib/load_gif.c 2014-06-18 04:27:37.000000000 -0600
+@@ -81,7 +81,7 @@ RImage *RLoadGIF(const char *file, int i
+ }
+
+ if (gif->SWidth < 1 || gif->SHeight < 1) {
+- DGifCloseFile(gif);
++ DGifCloseFile(gif, NULL);
+ RErrorCode = RERR_BADIMAGEFILE;
+ return NULL;
+ }
+@@ -216,7 +216,7 @@ RImage *RLoadGIF(const char *file, int i
+ free(buffer);
+
+ if (gif)
+- DGifCloseFile(gif);
++ DGifCloseFile(gif, NULL);
+
+ return image;
+ }