]> git.pld-linux.org Git - packages/endeavour.git/blame - endeavour-giflib51.patch
- release 7 (by relup.sh)
[packages/endeavour.git] / endeavour-giflib51.patch
CommitLineData
77af899a
JR
1--- endeavour-3.1.4/endeavour2/imgio_gif.c~ 2014-11-10 08:41:48.000000000 +0100
2+++ endeavour-3.1.4/endeavour2/imgio_gif.c 2014-11-10 08:43:54.590693857 +0100
3@@ -1465,7 +1465,7 @@
4 if(ctx != NULL) { \
5 /* Close the GIF file */ \
6 if(ctx->gif_file != NULL) \
7- (void)DGifCloseFile(ctx->gif_file); \
8+ (void)DGifCloseFile(ctx->gif_file, NULL); \
9 \
10 /* Delete the GIF screen */ \
11 if(ctx->gif_screen != NULL) { \
12@@ -1762,7 +1762,7 @@
13 }
14
15 /* End the GIF decoding */
16- gif_status = DGifCloseFile(ctx->gif_file);
17+ gif_status = DGifCloseFile(ctx->gif_file, NULL);
18 if(gif_status != GIF_OK)
19 {
20 ImgOpenSetError(DGIF_STR_ERROR(ctx->gif_file->Error));
21@@ -1973,7 +1973,7 @@
22 if(ctx != NULL) { \
23 /* Close the GIF file */ \
24 if(ctx->gif_file != NULL) \
25- (void)DGifCloseFile(ctx->gif_file); \
26+ (void)DGifCloseFile(ctx->gif_file, NULL); \
27 \
28 /* Delete the GIF screen */ \
29 if(ctx->gif_screen != NULL) { \
30@@ -2281,7 +2281,7 @@
31 }
32
33 /* End the GIF decoding */
34- gif_status = DGifCloseFile(ctx->gif_file);
35+ gif_status = DGifCloseFile(ctx->gif_file, NULL);
36 if(gif_status != GIF_OK)
37 {
38 ImgOpenSetError(DGIF_STR_ERROR(ctx->gif_file->Error));
39@@ -3994,7 +3994,7 @@
40 if(ctx != NULL) { \
41 /* Close the GIF file */ \
42 if(ctx->gif_file != NULL) \
43- (void)EGifCloseFile(ctx->gif_file); \
44+ (void)EGifCloseFile(ctx->gif_file, NULL); \
45 \
46 free(ctx); \
47 } \
48@@ -4177,7 +4177,7 @@
49 }
50
51 /* End the GIF encoding */
52- gif_status = EGifCloseFile(ctx->gif_file);
53+ gif_status = EGifCloseFile(ctx->gif_file, NULL);
54 if(gif_status != GIF_OK)
55 {
56 ImgSaveSetError(EGIF_STR_ERROR(ctx->gif_file->Error));
This page took 0.070859 seconds and 4 git commands to generate.