summaryrefslogtreecommitdiff
path: root/extra/plotutils/plotutils-2.6-libpng-1.5.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-11-19 02:25:52 -0800
committerroot <root@rshg054.dnsready.net>2012-11-19 02:25:52 -0800
commit705d29694fd61c47a57ccec531e73d87a2960021 (patch)
tree55e2f9c5d4ed72e92b4d249f51760cfbd53d3b80 /extra/plotutils/plotutils-2.6-libpng-1.5.patch
parentab63d8d49f68847a68c2ba0014bf0d3338cb3df6 (diff)
Mon Nov 19 02:22:26 PST 2012
Diffstat (limited to 'extra/plotutils/plotutils-2.6-libpng-1.5.patch')
-rw-r--r--extra/plotutils/plotutils-2.6-libpng-1.5.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/extra/plotutils/plotutils-2.6-libpng-1.5.patch b/extra/plotutils/plotutils-2.6-libpng-1.5.patch
index b86d9f457..8a10d19e5 100644
--- a/extra/plotutils/plotutils-2.6-libpng-1.5.patch
+++ b/extra/plotutils/plotutils-2.6-libpng-1.5.patch
@@ -7,7 +7,7 @@ fix building with libpng-1.5
/* cleanup after libpng errors (error handler does a longjmp) */
- if (setjmp (png_ptr->jmpbuf))
-+ if (png_jmpbuf (png_ptr))
++ if (setjmp (png_jmpbuf (png_ptr)))
{
png_destroy_write_struct (&png_ptr, (png_info **)NULL);
return -1;
@@ -16,7 +16,7 @@ fix building with libpng-1.5
}
- longjmp (png_ptr->jmpbuf, 1);
-+ longjmp (png_jmpbuf (png_ptr), 1);
++ png_longjmp (png_ptr, 1);
}
static void
@@ -25,7 +25,7 @@ fix building with libpng-1.5
}
- longjmp (png_ptr->jmpbuf, 1);
-+ longjmp (png_jmpbuf (png_ptr), 1);
++ png_longjmp (png_ptr, 1);
}
static void