Created attachment 286981 [details]
media-vide/ogmrip fails to build with libpng-1.5 because in libpng-1.5, png.h no longer includes zlib.h, and ogmrip's source uses zlib macros (such as Z_BEST_COMPRESSION).
# USE="aac dbus dts gtk libnotify matroska mp3 mp4 nls ogm spell srt theora vorbis x264 xvid" emerge ogmrip
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/libpng15 -I/usr/local/include -I.. -Wall -D_FORTIFY_SOURCE=2 -march=native -O2 -pipe -g -I/usr/local/include -I.. -Wall -D_FORTIFY_SOURCE=2 -DG_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -c spudec.c
subp2pgm.c: In function ‘write_png’:
subp2pgm.c:164:39: error: ‘Z_BEST_COMPRESSION’ undeclared (first use in this function)
subp2pgm.c:164:39: note: each undeclared identifier is reported only once for each function it appears in
subp2pgm.c:168:42: error: ‘Z_DEFAULT_STRATEGY’ undeclared (first use in this function)
make: *** [subp2pgm.o] Error 1
Created attachment 287033 [details, diff]
This patch fixes this issue. Thanks for the report.
Fixed. Thanks for reporting