diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-04-28 09:54:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-04-28 09:54:45 +0100 |
commit | b7ebc951da8800f711142f69d9d958bde67a112d (patch) | |
tree | e318514216845acb8f2e49fff7a5cba4027e9d91 /sci-visualization/gle/files | |
parent | dc7cbdfa65fd814b3b9aa3c56257da201109e807 (diff) |
gentoo resync : 28.04.2019
Diffstat (limited to 'sci-visualization/gle/files')
-rw-r--r-- | sci-visualization/gle/files/gle-4.2.5-jpeg-9c.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sci-visualization/gle/files/gle-4.2.5-jpeg-9c.patch b/sci-visualization/gle/files/gle-4.2.5-jpeg-9c.patch new file mode 100644 index 000000000000..c5dd2205dc43 --- /dev/null +++ b/sci-visualization/gle/files/gle-4.2.5-jpeg-9c.patch @@ -0,0 +1,22 @@ +https://bugs.gentoo.org/647626 + +--- a/src/gle/gle-poppler.cpp ++++ b/src/gle/gle-poppler.cpp +@@ -194,7 +194,7 @@ + boolean gle_jpeg_empty_output_buffer(j_compress_ptr cinfo) { + gle_jpeg_term_destination(cinfo); + gle_jpeg_init_destination(cinfo); +- return true; ++ return TRUE; + } + + void gle_jpeg_memory_dest(j_compress_ptr cinfo, JOCTET* buffer, GLEWriteFuncAndClosure writeCallback) { +@@ -237,7 +237,7 @@ + cinfo.in_color_space = JCS_RGB; + } + jpeg_set_defaults(&cinfo); +- jpeg_start_compress(&cinfo, true); ++ jpeg_start_compress(&cinfo, TRUE); + JSAMPROW row = new JSAMPLE[cinfo.input_components * width]; + JSAMPROW row_pointer[1]; + row_pointer[0] = row; |