The latest version of giflib-5.1.8 cannot be build on windows
A library and utilities for processing GIFs
Brought to you by:
abadger1999,
esr
I found that for giflib 5.1.4 I had a separate old patch which workaround this bug. So it seems the bug is not specific to 5.1.8 but a general issue with building of giflib on windows(without cygwin or mingw)
Fix pushed. I'll ship a 5.1.9 soon.
Even giftool.c isnt compiling on windows.. here is a patch
--- giflib-5.1.9/giftool.c
+++ giflib-5.1.9/giftool.c
@@ -10,7 +10,7 @@ giftool.c - GIF transformation tool.
#include <fcntl.h>
#include <stdbool.h></stdbool.h></fcntl.h>
-#include "getopt.h"
+//#include "getopt.h"
#include "getarg.h"
#include "gif_lib.h"
Last edit: Ashwini Kalokhe 2019-06-02
Note that the fix did not drop/wrap the usage of "<unistd.h>" in the "giflib/gif_hash.h".</unistd.h>