diff options
author | B. Watson <yalhcru@gmail.com> | 2015-11-22 07:25:03 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-11-28 07:26:17 +0700 |
commit | 3c1c6ee37354d19a87335c8c055fd76f820b8de2 (patch) | |
tree | b795b7a3a7f7370c5e90c2f4ec53ecd4447abb0b /graphics/fbv/png16_api.diff | |
parent | 6b480b2a6cb1b16cd4bfafa5f415758c6746e2f7 (diff) | |
download | slackbuilds-3c1c6ee37354d19a87335c8c055fd76f820b8de2.tar.gz |
graphics/fbv: Fix compile issue.
Diffstat (limited to 'graphics/fbv/png16_api.diff')
-rw-r--r-- | graphics/fbv/png16_api.diff | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/graphics/fbv/png16_api.diff b/graphics/fbv/png16_api.diff new file mode 100644 index 0000000000..235b343666 --- /dev/null +++ b/graphics/fbv/png16_api.diff @@ -0,0 +1,21 @@ +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); |