Dear list,

I regularly build snapshots from the next branch on Arch Linux. A few weeks ago, Arch upgraded the giflib package to version 5. Changes in the library break the build process. Here is the relevant log:

/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -D_XOPEN_SOURCE=600 -g -O2 -Wall -Wextra -Wno-sign-compare -Wno-deprecated -Wno-deprecated-declarations -MT gif.lo -MD -MP -MF .deps/gif.Tpo -c -o gif.lo gif.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -D_XOPEN_SOURCE=600 -g -O2 -Wall -Wextra -Wno-sign-compare -Wno-deprecated -Wno-deprecated-declarations -MT gif.lo -MD -MP -MF .deps/gif.Tpo -c gif.c -fPIC -DPIC -o .libs/gif.o
gif.c: In function 'RLoadGIF':
gif.c:60:2: error: too few arguments to function 'DGifOpenFileName'
gif = DGifOpenFileName(file);
^
In file included from gif.c:31:0:
/usr/include/gif_lib.h:178:14: note: declared here
GifFileType *DGifOpenFileName(const char *GifFileName, int *Error);
^
gif.c:63:3: warning: implicit declaration of function 'GifLastError' [-Wimplicit-function-declaration]
switch (GifLastError()) {
^
Makefile:600: recipe for target 'gif.lo' failed
make[3]: *** [gif.lo] Error 1
make[3]: Leaving directory '/home/nhs/build/wmaker-crm/wrlib'
Makefile:661: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/nhs/build/wmaker-crm/wrlib'
Makefile:433: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/nhs/build/wmaker-crm'
Makefile:368: recipe for target 'all' failed
make: *** [all] Error 2

I found a patch floating around the net that fixes this issue for me locally.[1] I'm not a developer myself, so I can't provide an applicable patch, but hopefully the given information is enough to easily fix this upstream.

Greetings,
Nicolas

---
[1] http://pastebin.com/0g2jusXF


--
To unsubscribe, send mail to [email protected].

Reply via email to