gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

latest release of gui and giflib > 5.1.0


From: Sebastian Reitenbach
Subject: latest release of gui and giflib > 5.1.0
Date: Mon, 25 May 2015 19:40:35 +0200
User-agent: Mozilla/5.0 (X11; OpenBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

Hi,

while upgrading the latest releases, I ran into problem with the libgif 5.1.1 installed on OpenBSD, that EGifCloseFile() is called with too few
arguments. Seems with 5.1.0, it got added the second argument, like
DGifClose got, patch below fixes issue for me.

OK to commit?



--- Source/NSBitmapImageRep+GIF.m.orig  Mon May 25 19:30:24 2015
+++ Source/NSBitmapImageRep+GIF.m       Mon May 25 19:30:40 2015
@@ -64,6 +64,7 @@ objective-c headers.
 // GIF> 5.1
 #if GIFLIB_MAJOR >= 5 && GIFLIB_MINOR >= 1
   #define DGifCloseFile(f) DGifCloseFile(f, NULL)
+  #define EGifCloseFile(f) EGifCloseFile(f, NULL)
 #endif

 /* -----------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]