diff options
Diffstat (limited to 'wm/windowmaker/patches/patch-wrlib_load__gif.c')
-rw-r--r-- | wm/windowmaker/patches/patch-wrlib_load__gif.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/wm/windowmaker/patches/patch-wrlib_load__gif.c b/wm/windowmaker/patches/patch-wrlib_load__gif.c deleted file mode 100644 index 8e4ec736ae9..00000000000 --- a/wm/windowmaker/patches/patch-wrlib_load__gif.c +++ /dev/null @@ -1,24 +0,0 @@ -$NetBSD: patch-wrlib_load__gif.c,v 1.1 2014/10/07 16:11:11 adam Exp $ - -Fix build with giflib 5.1 and newer. - ---- wrlib/load_gif.c.orig 2014-10-07 12:55:29.000000000 +0000 -+++ wrlib/load_gif.c -@@ -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; - } |