From 5edb701de2ac648ee192cd05d44cddd783945c02 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Fri, 13 May 2011 12:47:40 -0500 Subject: main/slim: fix build with png 1.5 --- main/slim/slim-png15.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 main/slim/slim-png15.patch (limited to 'main/slim/slim-png15.patch') diff --git a/main/slim/slim-png15.patch b/main/slim/slim-png15.patch new file mode 100644 index 0000000000..25caaed576 --- /dev/null +++ b/main/slim/slim-png15.patch @@ -0,0 +1,11 @@ +--- slim-1.3.2.orig/png.c ++++ slim-1.3.2/png.c +@@ -57,7 +57,7 @@ + return(0); + } + +- if (setjmp(png_ptr->jmpbuf)) ++ if (setjmp(png_jmpbuf(png_ptr))) + { + png_destroy_read_struct(&png_ptr, &info_ptr, (png_infopp) NULL); + fclose(infile); -- cgit v1.2.3