Commit 9e7c41e0 authored by Cody Maloney's avatar Cody Maloney Committed by Alan Coopersmith

Upgraded to work with libpng14

setjmp(png_ptr->jmpbuf) is depreceated so removed it and changed the version number to accept libpng12 or libpng14
Signed-off-by: default avatarCody Maloney <>
Tested-by: Yaakov Selkowitz's avatarYaakov Selkowitz <>
Signed-off-by: Alan Coopersmith's avatarAlan Coopersmith <>
parent 194d9a43
......@@ -18,7 +18,7 @@ AC_PROG_INSTALL
# Checks for pkg-config packages
PKG_CHECK_MODULES(XCURSORGEN, x11 xcursor libpng12)
PKG_CHECK_MODULES(XCURSORGEN, x11 xcursor libpng >= 1.2.0)
......@@ -196,7 +196,7 @@ load_image (struct flist *list, char *prefix)
return NULL;
if (setjmp (png->jmpbuf))
if (setjmp (png_jmpbuf(png)))
png_destroy_read_struct (&png, &info, NULL);
return NULL;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment