diff options
Diffstat (limited to 'media-gfx/gimp/files/gimp-2.2.11-libpng-1.2.10.patch')
-rw-r--r-- | media-gfx/gimp/files/gimp-2.2.11-libpng-1.2.10.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/media-gfx/gimp/files/gimp-2.2.11-libpng-1.2.10.patch b/media-gfx/gimp/files/gimp-2.2.11-libpng-1.2.10.patch new file mode 100644 index 000000000000..92fddcf1b8fe --- /dev/null +++ b/media-gfx/gimp/files/gimp-2.2.11-libpng-1.2.10.patch @@ -0,0 +1,20 @@ +--- plug-ins/common/png.c.orig 2006-06-15 19:45:07.000000000 +0200 ++++ plug-ins/common/png.c 2006-06-15 19:45:51.000000000 +0200 +@@ -1012,7 +1012,7 @@ + * Done with the file... + */ + +- png_read_destroy (pp, info, NULL); ++ png_destroy_read_struct(&pp, &info, NULL); + + g_free (pixel); + g_free (pixels); +@@ -1441,7 +1441,7 @@ + }; + + png_write_end (pp, info); +- png_write_destroy (pp); ++ png_destroy_write_struct(&pp, &info); + + g_free (pixel); + g_free (pixels); |