From: | "Mike Frysinger (vapier)" <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in x11-libs/fltk/files: fltk-2.0_pre6970-libpng15.patch |
Date: | Mon, 21 Feb 2011 01:20:07 |
Message-Id: | 20110221011956.9789020057@flycatcher.gentoo.org |
1 | vapier 11/02/21 01:19:56 |
2 | |
3 | Added: fltk-2.0_pre6970-libpng15.patch |
4 | Log: |
5 | Fix building with libpng-1.5.x. |
6 | |
7 | (Portage version: 2.2.0_alpha24/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 x11-libs/fltk/files/fltk-2.0_pre6970-libpng15.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/fltk/files/fltk-2.0_pre6970-libpng15.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/fltk/files/fltk-2.0_pre6970-libpng15.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: fltk-2.0_pre6970-libpng15.patch |
16 | =================================================================== |
17 | --- images/fl_png.cxx |
18 | +++ images/fl_png.cxx |
19 | @@ -111,7 +111,7 @@ bool pngImage::fetch() |
20 | png_set_sig_bytes(png_ptr, 8); |
21 | } |
22 | |
23 | - if (setjmp(png_ptr->jmpbuf)) |
24 | + if (setjmp(png_jmpbuf(png_ptr))) |
25 | goto error; |
26 | |
27 | png_read_info(png_ptr, info_ptr); |