mabi 14/11/11 21:07:26 Added: jpeg-9.patch Log: version bump, includes jpeg-9 patch from [email protected] (bug #520674) (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0xDDF971F118EEA5E6!)
Revision Changes Path 1.1 x11-libs/fox/files/jpeg-9.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/fox/files/jpeg-9.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/fox/files/jpeg-9.patch?rev=1.1&content-type=text/plain Index: jpeg-9.patch =================================================================== --- a/lib/fxjpegio.cpp +++ b/lib/fxjpegio.cpp @@ -138,7 +138,7 @@ src->pub.next_input_byte=src->buffer; src->pub.bytes_in_buffer=1; } - return true; + return TRUE; } @@ -216,7 +216,7 @@ srcinfo.src=&src.pub; // read the header from the jpg; - jpeg_read_header(&srcinfo,true); + jpeg_read_header(&srcinfo,TRUE); // make sure the output is RGB srcinfo.out_color_space=JCS_RGB; @@ -279,7 +279,7 @@ dest->stream->save(dest->buffer,JPEG_BUFFER_SIZE); dest->pub.free_in_buffer=JPEG_BUFFER_SIZE; dest->pub.next_output_byte=dest->buffer; - return true; + return TRUE; } @@ -336,8 +336,8 @@ dstinfo.dest=&dst.pub; jpeg_set_defaults(&dstinfo); - jpeg_set_quality(&dstinfo,quality,true); - jpeg_start_compress(&dstinfo,true); + jpeg_set_quality(&dstinfo,quality,TRUE); + jpeg_start_compress(&dstinfo,TRUE); // Write the jpeg data pp=data;
