summaryrefslogtreecommitdiff
path: root/community/gnustep-gui/giflib-5.1.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/gnustep-gui/giflib-5.1.patch')
-rw-r--r--community/gnustep-gui/giflib-5.1.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/community/gnustep-gui/giflib-5.1.patch b/community/gnustep-gui/giflib-5.1.patch
new file mode 100644
index 000000000..61b2aef80
--- /dev/null
+++ b/community/gnustep-gui/giflib-5.1.patch
@@ -0,0 +1,30 @@
+diff -wbBur gnustep-gui-0.24.0/Source/NSBitmapImageRep+GIF.m gnustep-gui-0.24.0.my/Source/NSBitmapImageRep+GIF.m
+--- gnustep-gui-0.24.0/Source/NSBitmapImageRep+GIF.m 2013-11-24 15:56:33.000000000 +0400
++++ gnustep-gui-0.24.0.my/Source/NSBitmapImageRep+GIF.m 2014-05-29 18:48:13.333993653 +0400
+@@ -161,7 +161,7 @@
+ return NO;
+ }
+
+- DGifCloseFile(file);
++ DGifCloseFile(file, NULL);
+ return YES;
+ }
+
+@@ -180,7 +180,7 @@
+ SET_ERROR_MSG(msg); \
+ if (file != NULL) \
+ {\
+- DGifCloseFile(file); \
++ DGifCloseFile(file, NULL); \
+ }\
+ if (imgBuffer != NULL) \
+ {\
+@@ -392,7 +392,7 @@
+ withValue: [NSNumber numberWithInt: 0]];
+
+ /* don't forget to close the gif */
+- DGifCloseFile(file);
++ DGifCloseFile(file, NULL);
+
+ return self;
+ }