summaryrefslogtreecommitdiff
path: root/app-office/magicpoint/files/magicpoint-1.13a-libpng15.patch
blob: 7990b46855447422317280b502409b9561119314 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- image/png.c
+++ image/png.c
@@ -86,7 +86,7 @@
 		return NULL;
 	}
 
-	if (setjmp(png_ptr->jmpbuf)) {
+	if (setjmp(png_jmpbuf(png_ptr))) {
 		png_destroy_read_struct(&png_ptr, &info_ptr, (png_infopp)NULL);
 		fclose(fp);
 		return NULL;