$OpenBSD: patch-src_modules_loaders_loader_gif_c,v 1.3 2013/09/25 08:01:42 sthen Exp $

handle giflib 5.0+

--- src/modules/loaders/loader_gif.c.orig	Thu Sep 19 03:08:58 2013
+++ src/modules/loaders/loader_gif.c	Thu Sep 19 03:09:04 2013
@@ -36,7 +36,7 @@ load(ImlibImage * im, ImlibProgressFunction progress, 
 #endif
    if (fd < 0)
       return 0;
-   gif = DGifOpenFileHandle(fd);
+   gif = DGifOpenFileHandle(fd, NULL);
    if (!gif)
      {
         close(fd);
