diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2011-09-14 19:49:58 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2011-09-14 19:49:58 +0000 |
commit | 0a396caaca1c1a8f28464f810e5e9cc303ba9349 (patch) | |
tree | cb5a8b70bc9819438aebc17a8a06d86cbeb17c84 /sci-chemistry/povscript+/files | |
parent | Remove stupid static-libs USE flag as the package should _not_ install static... (diff) | |
download | gentoo-2-0a396caaca1c1a8f28464f810e5e9cc303ba9349.tar.gz gentoo-2-0a396caaca1c1a8f28464f810e5e9cc303ba9349.tar.bz2 gentoo-2-0a396caaca1c1a8f28464f810e5e9cc303ba9349.zip |
Fix building with libpng15 wrt #378737 by Diego Elio Pettenò. Fix missing dependencies; freeglut, giflib, libpng, zlib, glu, jpeg, opengl and libX11.
(Portage version: 2.2.0_alpha55/cvs/Linux x86_64)
Diffstat (limited to 'sci-chemistry/povscript+/files')
-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); |