diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2011-09-14 11:31:48 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2011-09-14 11:31:48 +0000 |
commit | fb2e664a05a1f3ba62885897cf8aa694d0c10d38 (patch) | |
tree | 5b46c73daa74b774b1e1b99aea2bec3717f90685 /media-gfx/fbv/files/fbv-1.0b-libpng15.patch | |
parent | amd64/x86 stable wrt #382861 (diff) | |
download | gentoo-2-fb2e664a05a1f3ba62885897cf8aa694d0c10d38.tar.gz gentoo-2-fb2e664a05a1f3ba62885897cf8aa694d0c10d38.tar.bz2 gentoo-2-fb2e664a05a1f3ba62885897cf8aa694d0c10d38.zip |
Fix building with libpng15 wrt #381413 by Diego Elio Pettenò
(Portage version: 2.2.0_alpha55/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/fbv/files/fbv-1.0b-libpng15.patch')
-rw-r--r-- | media-gfx/fbv/files/fbv-1.0b-libpng15.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/media-gfx/fbv/files/fbv-1.0b-libpng15.patch b/media-gfx/fbv/files/fbv-1.0b-libpng15.patch new file mode 100644 index 000000000000..dffbe48c3734 --- /dev/null +++ b/media-gfx/fbv/files/fbv-1.0b-libpng15.patch @@ -0,0 +1,20 @@ +--- png.c ++++ png.c +@@ -69,7 +69,7 @@ + fclose(fh); return(FH_ERROR_FORMAT); + } + rp=0; +- if (setjmp(png_ptr->jmpbuf)) ++ if (setjmp(png_jmpbuf(png_ptr))) + { + png_destroy_read_struct(&png_ptr, &info_ptr, (png_infopp)NULL); + if(rp) free(rp); +@@ -161,7 +161,7 @@ + fclose(fh); return(FH_ERROR_FORMAT); + } + rp=0; +- if (setjmp(png_ptr->jmpbuf)) ++ if (setjmp(png_jmpbuf(png_ptr))) + { + png_destroy_read_struct(&png_ptr, &info_ptr, (png_infopp)NULL); + if(rp) free(rp); |