diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2011-09-15 18:47:03 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2011-09-15 18:47:03 +0000 |
commit | f5e05faf4085d30bf19d5f40adff0cd3f082d74c (patch) | |
tree | 988fbae89dc10310a0687634fedb329787841f18 /media-libs/simage/files | |
parent | Bug #378169: fixes for libpng15. (diff) | |
download | historical-f5e05faf4085d30bf19d5f40adff0cd3f082d74c.tar.gz historical-f5e05faf4085d30bf19d5f40adff0cd3f082d74c.tar.bz2 historical-f5e05faf4085d30bf19d5f40adff0cd3f082d74c.zip |
Fix building with libpng15 wrt #383131 by Diego Elio Pettenò
Package-Manager: portage-2.2.0_alpha55/cvs/Linux x86_64
Diffstat (limited to 'media-libs/simage/files')
-rw-r--r-- | media-libs/simage/files/simage-1.7.0-libpng15.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/media-libs/simage/files/simage-1.7.0-libpng15.patch b/media-libs/simage/files/simage-1.7.0-libpng15.patch new file mode 100644 index 000000000000..c42fd1fe27e9 --- /dev/null +++ b/media-libs/simage/files/simage-1.7.0-libpng15.patch @@ -0,0 +1,11 @@ +--- src/simage_png.c ++++ src/simage_png.c +@@ -323,7 +323,7 @@ + /* Set error handling. REQUIRED if you aren't supplying your own + * error hadnling functions in the png_create_write_struct() call. + */ +- if (setjmp(png_ptr->jmpbuf)) { ++ if (setjmp(png_jmpbuf(png_ptr))) { + /* If we get here, we had a problem reading the file */ + fclose(fp); + png_destroy_write_struct(&png_ptr, (png_infopp)info_ptr); |