Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/libopenraw/files: libopenraw-0.0.9-jpeg-9a.patch
Date: Thu, 28 Aug 2014 16:23:32
Message-Id: 20140828162328.D88F6A04@oystercatcher.gentoo.org
1 ssuominen 14/08/28 16:23:28
2
3 Added: libopenraw-0.0.9-jpeg-9a.patch
4 Log:
5 Fix building with media-libs/jpeg >= 9a wrt #520888 using a patch loaned from Fink. Upstream has changed the code in git so this is required only for 0.0.9 release.
6
7 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
8
9 Revision Changes Path
10 1.1 media-libs/libopenraw/files/libopenraw-0.0.9-jpeg-9a.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libopenraw/files/libopenraw-0.0.9-jpeg-9a.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libopenraw/files/libopenraw-0.0.9-jpeg-9a.patch?rev=1.1&content-type=text/plain
14
15 Index: libopenraw-0.0.9-jpeg-9a.patch
16 ===================================================================
17 http://bugs.gentoo.org/520888
18 http://sourceforge.net/p/fink/package-submissions/4336/
19
20 --- lib/jfifcontainer.cpp
21 +++ lib/jfifcontainer.cpp
22 @@ -145,7 +145,7 @@
23 {
24 int ret = 0;
25 if (::setjmp(m_jpegjmp) == 0) {
26 - ret = JPEG::jpeg_read_header(&m_cinfo, TRUE);
27 + ret = JPEG::jpeg_read_header(&m_cinfo, JPEG::TRUE);
28 //Trace(DEBUG1) << "jpeg_read_header " << ret << "\n";
29
30 JPEG::jpeg_calc_output_dimensions(&m_cinfo);
31 @@ -181,7 +181,7 @@
32 src->pub.next_input_byte = NULL;
33 src->pub.bytes_in_buffer = 0;
34 }
35 - return TRUE;
36 + return JPEG::TRUE;
37 }