/[packages]/cauldron/abiword/current/SOURCES/abiword-2.8.6-libpng1.5.patch
ViewVC logotype

Contents of /cauldron/abiword/current/SOURCES/abiword-2.8.6-libpng1.5.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 142632 - (show annotations) (download)
Mon Sep 12 09:26:33 2011 UTC (12 years, 7 months ago) by fwang
File size: 1353 byte(s)
more patch
1 --- src/af/util/xp/ut_png.cpp.libpng 2008-02-24 04:33:07.000000000 +0100
2 +++ src/af/util/xp/ut_png.cpp 2011-09-12 11:12:01.000000000 +0200
3 @@ -71,7 +71,7 @@
4 * the normal method of doing things with libpng). REQUIRED unless you
5 * set up your own error handlers in the png_create_read_struct() earlier.
6 */
7 - if (setjmp(png_ptr->jmpbuf))
8 + if (setjmp(png_jmpbuf(png_ptr)))
9 {
10 /* Free all of the memory associated with the png_ptr and info_ptr */
11 png_destroy_read_struct(&png_ptr, &info_ptr, static_cast<png_infopp>(NULL));
12 --- src/wp/impexp/gtk/ie_impGraphic_GdkPixbuf.cpp.libpng 2011-09-12 11:23:25.000000000 +0200
13 +++ src/wp/impexp/gtk/ie_impGraphic_GdkPixbuf.cpp 2011-09-12 11:25:44.000000000 +0200
14 @@ -185,7 +185,7 @@
15 /** needed for the stejmp context */
16 UT_Error IE_ImpGraphic_GdkPixbuf::_png_write(GdkPixbuf * pixbuf)
17 {
18 - if (setjmp(m_pPNG->jmpbuf))
19 + if (setjmp(png_jmpbuf(m_pPNG)))
20 {
21 DELETEP(m_pPngBB);
22 png_destroy_write_struct(&m_pPNG, &m_pPNGInfo);
23 @@ -446,7 +446,7 @@
24 * the normal method of doing things with libpng). REQUIRED unless you
25 * set up your own error handlers in the png_create_read_struct() earlier.
26 */
27 - if (setjmp(m_pPNG->jmpbuf))
28 + if (setjmp(png_jmpbuf(m_pPNG)))
29 {
30 /* Free all of the memory associated with the png_ptr and info_ptr */
31 png_destroy_write_struct(&m_pPNG, &m_pPNGInfo);

  ViewVC Help
Powered by ViewVC 1.1.30