diff options
author | René 'Necoro' Neumann <necoro@necoro.eu> | 2018-06-10 17:03:14 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.eu> | 2018-06-10 17:03:14 +0200 |
commit | 96c6434edde5fd67f535ad5d338ff85a70c0acea (patch) | |
tree | 2b58996057cb22487fc328fe58c29a524dd9a7dc /net-libs/webkit-gtk/files/webkit-gtk-2.4.4-jpeg-9a.patch | |
parent | 9b8e1ac88265c793629ecfd6f64af5a3553c2cef (diff) | |
download | overlay-96c6434edde5fd67f535ad5d338ff85a70c0acea.tar.gz overlay-96c6434edde5fd67f535ad5d338ff85a70c0acea.tar.bz2 overlay-96c6434edde5fd67f535ad5d338ff85a70c0acea.zip |
Rescued old webkit-gtk-version, needed for PP
Diffstat (limited to '')
-rw-r--r-- | net-libs/webkit-gtk/files/webkit-gtk-2.4.4-jpeg-9a.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/net-libs/webkit-gtk/files/webkit-gtk-2.4.4-jpeg-9a.patch b/net-libs/webkit-gtk/files/webkit-gtk-2.4.4-jpeg-9a.patch new file mode 100644 index 0000000..cded605 --- /dev/null +++ b/net-libs/webkit-gtk/files/webkit-gtk-2.4.4-jpeg-9a.patch @@ -0,0 +1,30 @@ +http://bugs.gentoo.org/481688 +http://trac.webkit.org/changeset/166490/trunk/Source/WebCore/platform/image-decoders/jpeg/JPEGImageDecoder.cpp + +--- a/Source/WebCore/platform/image-decoders/jpeg/JPEGImageDecoder.cpp ++++ b/Source/WebCore/platform/image-decoders/jpeg/JPEGImageDecoder.cpp +@@ -334,5 +334,5 @@ + case JPEG_HEADER: + // Read file parameters with jpeg_read_header(). +- if (jpeg_read_header(&m_info, true) == JPEG_SUSPENDED) ++ if (jpeg_read_header(&m_info, TRUE) == JPEG_SUSPENDED) + return false; // I/O suspension. + +@@ -420,7 +420,7 @@ + m_info.dct_method = dctMethod(); + m_info.dither_mode = ditherMode(); +- m_info.do_fancy_upsampling = doFancyUpsampling(); +- m_info.enable_2pass_quant = false; +- m_info.do_block_smoothing = true; ++ m_info.do_fancy_upsampling = doFancyUpsampling() ? TRUE : FALSE; ++ m_info.enable_2pass_quant = FALSE; ++ m_info.do_block_smoothing = TRUE; + + // Start decompressor. +@@ -573,5 +573,5 @@ + // called, then we have hit the end of the buffer. A return value of false + // indicates that we have no data to supply yet. +- return false; ++ return FALSE; + } + |