Commit c9bc8acc authored by Mike Gabriel's avatar Mike Gabriel

Add 025_nxcomp-fix-ftbfs-against-jpeg9a.full+lite.patch. Fix FTBFS when built…

Add 025_nxcomp-fix-ftbfs-against-jpeg9a.full+lite.patch. Fix FTBFS when built against libjpeg9a. Thanks to Gabriel Marcano for sending this in.
parent 0e3b414e
nx-libs (2:3.5.0.28-0x2go1) UNRELEASED; urgency=medium
* Provide COPYING file in tarball. Update debian/copyright.
* Add 025_nxcomp-fix-ftbfs-against-jpeg9a.full+lite.patch. Fix FTBFS when
built against libjpeg9a. Thanks to Gabriel Marcano for sending this in.
(Fixes: #578).
-- Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Mon, 30 Jun 2014 15:05:54 +0200
......
Description: Fix FTBFS when built against libjpeg9a
Author: Gabriel Marcano <gabemarcano@yahoo.com>
--- a/nxcomp/Jpeg.cpp 2014-08-19 22:23:36.139072400 -0400
+++ b/nxcomp/Jpeg.cpp 2014-08-19 22:25:24.323182800 -0400
@@ -440,7 +440,7 @@
JpegSetSrcManager(&cinfo, compressedData, compressedLen);
- jpeg_read_header(&cinfo, 1);
+ jpeg_read_header(&cinfo, TRUE);
if (jpegError) goto AbortDecompressJpeg16;
@@ -581,7 +581,7 @@
JpegSetSrcManager(&cinfo, compressedData, compressedLen);
- jpeg_read_header(&cinfo, 1);
+ jpeg_read_header(&cinfo, TRUE);
if (jpegError) goto AbortDecompressJpeg24;
@@ -718,7 +718,7 @@
JpegSetSrcManager(&cinfo, compressedData, compressedLen);
- jpeg_read_header(&cinfo, 1);
+ jpeg_read_header(&cinfo, TRUE);
if (jpegError) goto AbortDecompressJpeg32;
@@ -833,7 +833,7 @@
jpegSrcManager.bytes_in_buffer = jpegBufferLen;
jpegSrcManager.next_input_byte = (JOCTET *)jpegBufferPtr;
- return 1;
+ return TRUE;
}
static void JpegSkipInputData(j_decompress_ptr cinfo, long num_bytes)
......@@ -19,6 +19,7 @@
019_nx-X11_expat-build-against-system-libxmltok.full.patch
024_fix-make-clean.full.patch
024_fix-make-clean.full+lite.patch
025_nxcomp-fix-ftbfs-against-jpeg9a.full+lite.patch
026_nxcompext_honour-optflags.full.patch
026_nxcomp_honour-optflags.full+lite.patch
026_nxcompshad_honour-optflags.full.patch
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment