diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2012-06-01 05:26:28 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2012-06-01 05:26:28 +0000 |
commit | 2b74a89bc8342f0b9b737c37d87737caf7b0ea1e (patch) | |
tree | c04604583d8be53b3ed7f10975be828c731f87cb /graphics/libpano12/files/patch-png.c | |
parent | - Allow for larger database UIDs (diff) |
- update png to 1.5.10
Diffstat (limited to '')
-rw-r--r-- | graphics/libpano12/files/patch-png.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/graphics/libpano12/files/patch-png.c b/graphics/libpano12/files/patch-png.c new file mode 100644 index 000000000000..0bd2e46b40d9 --- /dev/null +++ b/graphics/libpano12/files/patch-png.c @@ -0,0 +1,27 @@ +--- png.c.orig 2006-08-20 23:04:06.000000000 +0200 ++++ png.c 2012-05-04 13:03:57.000000000 +0200 +@@ -1,5 +1,6 @@ + #include "filter.h" + #include "png.h" ++#include "pngpriv.h" + + + +@@ -56,7 +57,7 @@ + } + + /* set error handling */ +- if (setjmp(png_ptr->jmpbuf)) ++ if (setjmp(png_jmpbuf(png_ptr))) + { + /* If we get here, we had a problem reading the file */ + fclose(outfile); +@@ -165,7 +166,7 @@ + } + + /* set error handling if you are using the setjmp/longjmp method */ +- if (setjmp(png_ptr->jmpbuf)) ++ if (setjmp(png_jmpbuf(png_ptr))) + { + /* Free all of the memory associated with the png_ptr and info_ptr */ + png_destroy_read_struct(&png_ptr, &info_ptr, (png_infopp)NULL); |