Created attachment 824869 [details] build.log (ppc, 1.7.5) This is a regression over previous stable 1.7.1-r2. [...] /bin/sh ../../../libtool --tag=CC --tag=disable-static --mode=compile powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-libs/imlib2-1.7.5/work/imlib2-1.7.5/src/modules/loaders -I../../.. -I../../.. -I/var/tmp/portage/media-libs/imlib2-1.7.5/work/imlib2-1.7.5/src/lib -W -Wall -Wcast-align -Wpointer-arith -Wshadow -Wwrite-strings -Wno-unused-parameter -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -fvisibility=hidden -O2 -mcpu=7450 -mtune=7450 -pipe -c -o ico_la-loader_ico.lo `test -f 'loader_ico.c' || echo '/var/tmp/portage/media-libs/imlib2-1.7.5/work/imlib2-1.7.5/src/modules/loaders/'`loader_ico.c libtool: compile: powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-libs/imlib2-1.7.5/work/imlib2-1.7.5/src/modules/loaders -I../../.. -I../../.. -I/var/tmp/portage/media-libs/imlib2-1.7.5/work/imlib2-1.7.5/src/lib -W -Wall -Wcast-align -Wpointer-arith -Wshadow -Wwrite-strings -Wno-unused-parameter -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -fvisibility=hidden -O2 -mcpu=7450 -mtune=7450 -pipe -c /var/tmp/portage/media-libs/imlib2-1.7.5/work/imlib2-1.7.5/src/modules/loaders/loader_ico.c -fPIC -DPIC -o .libs/ico_la-loader_ico.o /var/tmp/portage/media-libs/imlib2-1.7.5/work/imlib2-1.7.5/src/modules/loaders/loader_ico.c: In function 'ico_read_icon': /var/tmp/portage/media-libs/imlib2-1.7.5/work/imlib2-1.7.5/src/modules/loaders/loader_ico.c:200:14: error: 'nr' undeclared (first use in this function) 200 | for (nr = 0; nr < ie->bih.colors; nr++) | ^~ /var/tmp/portage/media-libs/imlib2-1.7.5/work/imlib2-1.7.5/src/modules/loaders/loader_ico.c:200:14: note: each undeclared identifier is reported only once for each function it appears in make[4]: *** [Makefile:826: ico_la-loader_ico.lo] Error 1
Created attachment 824871 [details] emerge --info
https://git.enlightenment.org/old/legacy-imlib2/commit/7d60151ba9696ef07be79af68d5c631a97c63906
(In reply to Stephan Hartmann from comment #2) > https://git.enlightenment.org/old/legacy-imlib2/commit/ > 7d60151ba9696ef07be79af68d5c631a97c63906 Thanks! I can confirm the patch works.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40383904bf9e4b5c0ee8e55b9587112b7351e7cd commit 40383904bf9e4b5c0ee8e55b9587112b7351e7cd Author: Matoro Mahri <matoro@users.noreply.github.com> AuthorDate: 2022-11-30 22:20:40 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-12-01 01:52:13 +0000 media-libs/imlib2: backport BE build fix to 1.7.5 No revbump since this is build-only. Closes: https://bugs.gentoo.org/877777 Signed-off-by: Matoro Mahri <matoro@users.noreply.github.com> Closes: https://github.com/gentoo/gentoo/pull/28488 Signed-off-by: Sam James <sam@gentoo.org> media-libs/imlib2/files/7d60151ba9.patch | 37 ++++++++++++++++++++++++++++++++ media-libs/imlib2/imlib2-1.7.5.ebuild | 1 + 2 files changed, 38 insertions(+)