diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2011-11-05 06:54:23 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2011-11-05 06:54:23 +0000 |
commit | 7d1f1b2e7474c96e4cf9dc9001c3be3a02520cf6 (patch) | |
tree | 703915420270e32afc10936eb3bdc5232c3bd65a /media-gfx/zgv/files | |
parent | Add GNOME 3 advanced customization tool from the gnome overlay. (diff) | |
download | gentoo-2-7d1f1b2e7474c96e4cf9dc9001c3be3a02520cf6.tar.gz gentoo-2-7d1f1b2e7474c96e4cf9dc9001c3be3a02520cf6.tar.bz2 gentoo-2-7d1f1b2e7474c96e4cf9dc9001c3be3a02520cf6.zip |
Fix building with libpng15 wrt #389591 by Navid Zamani
(Portage version: 2.2.0_alpha72/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/zgv/files')
-rw-r--r-- | media-gfx/zgv/files/zgv-5.9-libpng15.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/media-gfx/zgv/files/zgv-5.9-libpng15.patch b/media-gfx/zgv/files/zgv-5.9-libpng15.patch new file mode 100644 index 000000000000..2f12532831de --- /dev/null +++ b/media-gfx/zgv/files/zgv-5.9-libpng15.patch @@ -0,0 +1,22 @@ +http://bugs.gentoo.org/389591 + +--- src/readpng.c ++++ src/readpng.c +@@ -63,7 +63,7 @@ + use_errmsg=1; + + /* cleanup is done after jump back, so just do that now... */ +-longjmp(png_ptr->jmpbuf,1); ++longjmp(png_jmpbuf(png_ptr), 1); + } + + +@@ -132,7 +132,7 @@ + return(_PICERR_NOMEM); + } + +-if(setjmp(png_ptr->jmpbuf)) ++if(setjmp(png_jmpbuf(png_ptr))) + { + /* if we get here, there was an error. */ + /* don't use local variables here, they may have been blasted */ |