| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/science/molscript/files/ |
Upload File : |
--- png_img.c.orig 2017-01-16 17:36:29 UTC
+++ png_img.c
@@ -19,6 +19,7 @@
#include <GL/gl.h>
#include <png.h>
+#include <zlib.h>
#include "clib/str_utils.h"
#include "clib/dynstring.h"
@@ -69,7 +70,7 @@ pngi_first_plot (void)
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);