diff options
author | William Pitcock <nenolod@dereferenced.org> | 2011-05-13 12:47:40 -0500 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-05-13 12:47:40 -0500 |
commit | 5edb701de2ac648ee192cd05d44cddd783945c02 (patch) | |
tree | 598383456bc0a8e1fccacc5a8b50acaf67bf1d74 /main/slim/slim-png15.patch | |
parent | 229d0c24d5529816478cfda17c3d0ba77d0a7209 (diff) | |
download | aports-5edb701de2ac648ee192cd05d44cddd783945c02.tar.bz2 aports-5edb701de2ac648ee192cd05d44cddd783945c02.tar.xz |
main/slim: fix build with png 1.5
Diffstat (limited to 'main/slim/slim-png15.patch')
-rw-r--r-- | main/slim/slim-png15.patch | 11 |
1 files changed, 11 insertions, 0 deletions
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); |