1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/games/xglk/files/patch-xglk_pict.c
2012-06-01 05:26:28 +00:00

12 lines
364 B
C

--- xglk_pict.c.orig 1999-08-26 20:42:12.000000000 +0200
+++ xglk_pict.c 2012-04-29 07:14:20.000000000 +0200
@@ -385,7 +385,7 @@
return NULL;
}
- if (setjmp(png_ptr->jmpbuf)) {
+ if (setjmp(png_jmpbuf(png_ptr))) {
/* If we jump here, we had a problem reading the file */
png_destroy_read_struct(&png_ptr, &info_ptr, NULL);
if (rowarray)