diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-libs/fox/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-libs/fox/files')
-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; |