diff options
Diffstat (limited to 'games-puzzle/shaaft/files/shaaft-0.5.0-libpng15.patch')
-rw-r--r-- | games-puzzle/shaaft/files/shaaft-0.5.0-libpng15.patch | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/games-puzzle/shaaft/files/shaaft-0.5.0-libpng15.patch b/games-puzzle/shaaft/files/shaaft-0.5.0-libpng15.patch deleted file mode 100644 index 6773242ea6dc..000000000000 --- a/games-puzzle/shaaft/files/shaaft-0.5.0-libpng15.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- utilssdl/PNG.cpp -+++ utilssdl/PNG.cpp -@@ -45,7 +45,7 @@ - { - png_uint_32 check; - -- check = fwrite( data, 1, length, (FILE *)(png->io_ptr)); -+ check = fwrite( data, 1, length, (FILE *)(png_get_io_ptr(png))); - if( check != length) - { - png_error( png, "Write Error"); -@@ -72,7 +72,7 @@ - return false; - } - -- if( setjmp(_png->jmpbuf)) -+ if( setjmp(png_jmpbuf(_png))) - { - fclose( fp); - png_destroy_write_struct(&_png, (png_infopp)NULL); |