When choosing a USE-flag for raw media-gfx/ufraw stage compilation ends with an error "ufraw_writer.c:569:37: error: ‘Z_BEST_COMPRESSION’ undeclared (first use in this function)". I have tested ufraw-0.16 and ufraw-0.18 and both show same result. Reproducible: Always Steps to Reproduce: 1. USE=raw emerge -1v ufraw Build is successful after I add the "#include" directive in ufraw_writer.c. (See patch in the attachments)
Created attachment 287761 [details, diff] Add zlib.h include directive into ufraw_writer.c
(In reply to comment #0) > When choosing a USE-flag for raw media-gfx/ufraw stage compilation ends with an > error "ufraw_writer.c:569:37: error: ‘Z_BEST_COMPRESSION’ undeclared (first use > in this function)". I have tested ufraw-0.16 and ufraw-0.18 and both show same > result. I see this in ufraw-0.18, so closing as INVALID #ifdef HAVE_LIBZ #include <zlib.h> /* for libpng 1.5.x */ #endif Also, ufraw doesn't have USE flag called "raw" so this must be coming from some overlay.