mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
954 B

  1. Submitted By: Randy McMurchy <randy_at_linuxfromscratch_dot_org>
  2. Date: 2006-05-27
  3. Initial Package Version: 2.2.11
  4. Upstream Status: In upstream CVS
  5. Origin: Upstream CVS
  6. Description: Fixes an issue with Gimp using a deprecated libpng
  7. function no longer available in >= libpng-1.2.9
  8. $Id: gimp-2.2.11-libpng_fix-1.patch 1546 2006-05-27 23:44:49Z randy $
  9. --- gimp-2.2.11-orig/plug-ins/common/png.c 2004-11-23 14:28:43.000000000 +0000
  10. +++ gimp-2.2.11/plug-ins/common/png.c 2006-05-27 23:08:02.000000000 +0000
  11. @@ -1012,7 +1012,7 @@
  12. * Done with the file...
  13. */
  14. - png_read_destroy (pp, info, NULL);
  15. + png_destroy_read_struct (&pp, &info, NULL);
  16. g_free (pixel);
  17. g_free (pixels);
  18. @@ -1441,7 +1441,7 @@
  19. };
  20. png_write_end (pp, info);
  21. - png_write_destroy (pp);
  22. + png_destroy_write_struct (&pp, &info);
  23. g_free (pixel);
  24. g_free (pixels);