5.1.x changed the signature of DGifCloseFile to take the address of an integer for the error code. Reproducible: Always Steps to Reproduce: 1. Install giflib 5.1.1. 2. Try to build imlib2 1.4.6-r2 3. Actual Results: Fails Expected Results: Succeeds Portage 2.2.15 (python 2.7.8-final-0, hardened/linux/amd64, gcc-4.9.1, glibc-2.20, 3.18.4-hardened.rivendell x86_64) ================================================================= System uname: Linux-3.18.4-hardened.rivendell-x86_64-Intel-R-_Xeon-R-_CPU_X5482_@_3.20GHz-with-gentoo-2.2 KiB Mem: 8216292 total, 784424 free KiB Swap: 6147416 total, 5825932 free Timestamp of tree: Thu, 05 Feb 2015 07:15:01 +0000 sh bash 4.3_p30-r1 ld GNU gold (Gentoo 2.24 p1.4 2.24) 1.11 app-shells/bash: 4.3_p30-r1 dev-java/java-config: 2.2.0 dev-lang/perl: 5.20.1-r3 dev-lang/python: 2.7.8, 3.4.2 dev-util/cmake: 3.1.0 dev-util/pkgconfig: 0.28-r2 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.13.8 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.9.6-r4, 1.10.3-r1, 1.11.6-r1, 1.12.6, 1.13.4, 1.14.1 sys-devel/binutils: 2.24-r3 sys-devel/gcc: 4.8.2, 4.9.1 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.4 sys-devel/make: 4.1-r1 sys-kernel/linux-headers: 3.17-r1 (virtual/os-headers) sys-libs/glibc: 2.20
Fix is: http://git.enlightenment.org/legacy/imlib2.git/commit/?id=540df42aab3b6aa1a5b774a02769758cf5b9b404
Please attach the entire build log to this bug report.
*** This bug has been marked as a duplicate of bug 538976 ***
(In reply to Andrew John Hughes from comment #1) > Fix is: > > http://git.enlightenment.org/legacy/imlib2.git/commit/ > ?id=540df42aab3b6aa1a5b774a02769758cf5b9b404 Are you sure about this fix? It does not apply to media-libs/imlib2-1.4.6-r2. I will attach one that applies and compile (and hopefully works ;-) )
Created attachment 403038 [details, diff] imlib2-fix_compilation_with_giflib-5.1.x.patch This apparently works...
(In reply to Andrew John Hughes from comment #1) > Fix is: > > http://git.enlightenment.org/legacy/imlib2.git/commit/ > ?id=540df42aab3b6aa1a5b774a02769758cf5b9b404 This fix is for version 1.4.7 (not in tree, yet) which apparently reworked the src/modules/loaders/loader_gif.c file quite a bit. For versions in tree you need my patch above.
should be all set now in the tree; thanks for the report! Commit message: Version bump http://sources.gentoo.org/media-libs/imlib2/imlib2-1.4.7.ebuild?rev=1.1