/[packages]/cauldron/abiword/current/SOURCES/abiword-2.9.2-libpng15.patch
ViewVC logotype

Contents of /cauldron/abiword/current/SOURCES/abiword-2.9.2-libpng15.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 171810 - (show annotations) (download)
Fri Nov 25 08:26:42 2011 UTC (12 years, 4 months ago) by fwang
File size: 816 byte(s)
fix libpng15 usage
1 --- src/wp/impexp/gtk/ie_impGraphic_GdkPixbuf.cpp.libpng 2011-11-25 16:23:42.374652677 +0800
2 +++ src/wp/impexp/gtk/ie_impGraphic_GdkPixbuf.cpp 2011-11-25 16:24:44.556061151 +0800
3 @@ -185,7 +185,7 @@
4 /** needed for the stejmp context */
5 UT_Error IE_ImpGraphic_GdkPixbuf::_png_write(GdkPixbuf * pixbuf)
6 {
7 - if (setjmp(m_pPNG->jmpbuf))
8 + if (setjmp(png_jmpbuf(m_pPNG)))
9 {
10 DELETEP(m_pPngBB);
11 png_destroy_write_struct(&m_pPNG, &m_pPNGInfo);
12 @@ -446,7 +446,7 @@
13 * the normal method of doing things with libpng). REQUIRED unless you
14 * set up your own error handlers in the png_create_read_struct() earlier.
15 */
16 - if (setjmp(m_pPNG->jmpbuf))
17 + if (setjmp(png_jmpbuf(m_pPNG)))
18 {
19 /* Free all of the memory associated with the png_ptr and info_ptr */
20 png_destroy_write_struct(&m_pPNG, &m_pPNGInfo);

  ViewVC Help
Powered by ViewVC 1.1.30