diff options
Diffstat (limited to 'graphics/geomorph/files/patch-src-utils-writepng.c')
-rw-r--r-- | graphics/geomorph/files/patch-src-utils-writepng.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/graphics/geomorph/files/patch-src-utils-writepng.c b/graphics/geomorph/files/patch-src-utils-writepng.c new file mode 100644 index 000000000000..b4a0e142681a --- /dev/null +++ b/graphics/geomorph/files/patch-src-utils-writepng.c @@ -0,0 +1,19 @@ +--- src/utils/writepng.c.orig 2008-01-23 03:14:22.000000000 +0100 ++++ src/utils/writepng.c 2012-05-04 12:28:50.000000000 +0200 +@@ -20,6 +20,7 @@ + */ + + #include <png.h> ++#include <zlib.h> + #include <stdlib.h> + #include "./utils.h" + +@@ -75,7 +76,7 @@ + + /* Set error handling. */ + +- if (setjmp(png_ptr->jmpbuf)) ++ if (setjmp(png_jmpbuf(png_ptr))) + { + /* If we get here, we had a problem writing the file */ + fclose(fp); |