y4mutils/Makefile.am:
y4mhist_SOURCES = y4mhist.c y4mhist_LDADD = $(SDL_LIBS) $(SDLgfx_LIBS) $(LIBMJPEGUTILS)
So the build for y4mhist doesn't respect SDL_CFLAGS, effectively breaking the build on Gentoo.
An extra:
y4mhist_CPPFLAGS = $(AM_CPPFLAGS) $(SDL_CFLAGS)
would do the job.
have you the patch in Gentoo packages ?
I already found it in
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-video/mjpegtools/files/
thanks,
Last edit: Sérgio M. Basto 2014-07-27
Thanks for the patch,
It was applied in CVS, so it will appear in the next version.