Created attachment 459654 [details] Build log, xz compressed [..] x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/lib64 -Wall -I../libs/ff-woff/fontforge -I../libs/ff-woff/inc -march=core2 -msse4.1 --param l1-cache-line-size=64 --param l1-cache-size=32 --param l2-cache-size=6144 -O2 -pipe -c -o ffwrapper.o ffwrapper.c ffwrapper.c: In function ‘ff_autohint’: ffwrapper.c:56:2: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode for (int i=0; i < sf->glyphcnt; i++) { ^ ffwrapper.c:56:2: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code make[2]: *** [Makefile:687: ffwrapper.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/var/tmp/portage/app-text/dvisvgm-2.0.4/work/dvisvgm-2.0.4/src' make[1]: *** [Makefile:396: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/app-text/dvisvgm-2.0.4/work/dvisvgm-2.0.4' make: *** [Makefile:337: all] Error 2 [..]
# gcc-config -B /usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3
commit 5aa2ae5d812fea40ebf0e02d3f98be804488dc18 Author: Sebastian Pipping <sping@g.o> Date: Mon Jan 16 23:33:41 2017 +0100 app-text/dvisvgm: Fix compilation (bug #605404) Patch is taken from upstream: https://github.com/mgieseki/dvisvgm/commit/4aaf49080cfc84c2aa4a271b8dd12e9e9fa8b7bd Homepage is updated as well. Package-Manager: Portage-2.3.3, Repoman-2.3.1 app-text/dvisvgm/dvisvgm-2.0.4.ebuild | 5 +++-- .../dvisvgm/files/dvisvgm-2.0.4-c99-compile.patch | 24 ++++++++++++++++++++++ 2 files changed, 27 insertions(+), 2 deletions(-) https://github.com/gentoo/gentoo/commit/5aa2ae5d812fea40ebf0e02d3f98be804488dc18