slackbuilds_ponce/graphics/fbv/png16_api.diff

22 lines
675 B
Diff
Raw Normal View History

2015-11-22 13:25:03 +01:00
diff -Naur fbv-1.0b/png.c fbv-1.0b.patched/png.c
--- fbv-1.0b/png.c 2003-08-24 16:22:22.000000000 -0400
+++ fbv-1.0b.patched/png.c 2015-11-22 12:21:33.247999000 -0500
@@ -69,7 +69,7 @@
fclose(fh); return(FH_ERROR_FORMAT);
}
rp=0;
- if (setjmp(png_ptr->jmpbuf))
+ if (setjmp(png_jmpbuf(png_ptr)))
{
png_destroy_read_struct(&png_ptr, &info_ptr, (png_infopp)NULL);
if(rp) free(rp);
@@ -161,7 +161,7 @@
fclose(fh); return(FH_ERROR_FORMAT);
}
rp=0;
- if (setjmp(png_ptr->jmpbuf))
+ if (setjmp(png_jmpbuf(png_ptr)))
{
png_destroy_read_struct(&png_ptr, &info_ptr, (png_infopp)NULL);
if(rp) free(rp);