diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-chemistry/povscript+/files/povscript+-2.1.2.2.19-libpng15.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-chemistry/povscript+/files/povscript+-2.1.2.2.19-libpng15.patch')
-rw-r--r-- | sci-chemistry/povscript+/files/povscript+-2.1.2.2.19-libpng15.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sci-chemistry/povscript+/files/povscript+-2.1.2.2.19-libpng15.patch b/sci-chemistry/povscript+/files/povscript+-2.1.2.2.19-libpng15.patch new file mode 100644 index 000000000000..054967d6555c --- /dev/null +++ b/sci-chemistry/povscript+/files/povscript+-2.1.2.2.19-libpng15.patch @@ -0,0 +1,19 @@ +--- src/png_img.c ++++ src/png_img.c +@@ -18,6 +18,7 @@ + + #include MS_GL_H + ++#include <zlib.h> + #include <png.h> + + #include "clib/str_utils.h" +@@ -69,7 +70,7 @@ + info_ptr = png_create_info_struct (png_ptr); + if (info_ptr == NULL) + yyerror ("png_img: could not create PNG info structure"); +- if (setjmp (png_ptr->jmpbuf)) yyerror ("png_img: could not setjmp"); ++ if (setjmp (png_jmpbuf(png_ptr))) yyerror ("png_img: could not setjmp"); + + png_init_io (png_ptr, outfile); + png_set_compression_level (png_ptr, compression_level); |