diff options
Diffstat (limited to 'x11-libs/fox/files/jpeg-9.patch')
-rw-r--r-- | x11-libs/fox/files/jpeg-9.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/x11-libs/fox/files/jpeg-9.patch b/x11-libs/fox/files/jpeg-9.patch new file mode 100644 index 000000000000..8075f03251c1 --- /dev/null +++ b/x11-libs/fox/files/jpeg-9.patch @@ -0,0 +1,40 @@ +--- 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; |