summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-09-14 11:31:48 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-09-14 11:31:48 +0000
commitfb2e664a05a1f3ba62885897cf8aa694d0c10d38 (patch)
tree5b46c73daa74b774b1e1b99aea2bec3717f90685 /media-gfx/fbv/files/fbv-1.0b-libpng15.patch
parentamd64/x86 stable wrt #382861 (diff)
downloadgentoo-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.patch20
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);