diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-12-25 14:00:30 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-12-25 14:00:30 +0000 |
commit | d35737261d875094e80203fa627ea5ed3273d05e (patch) | |
tree | 4bf59a1e73d13d77d4ecdb14f0ca124b4050cf99 /graphics/libpano12/files/patch-png.c | |
parent | Properly support png 1.5 (diff) |
Was added just for hugin which now support libpano13
Does not properly support modern png
Diffstat (limited to 'graphics/libpano12/files/patch-png.c')
-rw-r--r-- | graphics/libpano12/files/patch-png.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/graphics/libpano12/files/patch-png.c b/graphics/libpano12/files/patch-png.c deleted file mode 100644 index 0bd2e46b40d9..000000000000 --- a/graphics/libpano12/files/patch-png.c +++ /dev/null @@ -1,27 +0,0 @@ ---- 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); |