From 359d940358dec836dd0acfe9d9caf0b1ff0a97fe Mon Sep 17 00:00:00 2001 From: Parabola Date: Sun, 5 Feb 2012 17:25:05 +0000 Subject: Sun Feb 5 17:25:01 UTC 2012 --- community-staging/scorched3d/libpng14.patch | 38 ----------------------------- 1 file changed, 38 deletions(-) delete mode 100644 community-staging/scorched3d/libpng14.patch (limited to 'community-staging/scorched3d/libpng14.patch') diff --git a/community-staging/scorched3d/libpng14.patch b/community-staging/scorched3d/libpng14.patch deleted file mode 100644 index 7a5a9434c..000000000 --- a/community-staging/scorched3d/libpng14.patch +++ /dev/null @@ -1,38 +0,0 @@ ---- src/common/image/ImagePng.cpp 2009-02-23 04:14:20.000000000 +0100 -+++ src/common/image/ImagePng.cpp_patched 2010-01-24 22:01:04.000000000 +0100 -@@ -189,7 +189,7 @@ - info_ptr = png_create_info_struct(png_ptr); - if (info_ptr == NULL) - { -- png_destroy_read_struct(&png_ptr, png_infopp_NULL, png_infopp_NULL); -+ png_destroy_read_struct(&png_ptr, NULL, NULL); - return false; - } - -@@ -200,7 +200,7 @@ - if (setjmp(png_jmpbuf(png_ptr))) - { - /* Free all of the memory associated with the png_ptr and info_ptr */ -- png_destroy_read_struct(&png_ptr, &info_ptr, png_infopp_NULL); -+ png_destroy_read_struct(&png_ptr, &info_ptr, NULL); - /* If we get here, we had a problem reading the file */ - return false; - } -@@ -258,7 +258,7 @@ - } - else - { -- png_destroy_read_struct(&png_ptr, &info_ptr, png_infopp_NULL); -+ png_destroy_read_struct(&png_ptr, &info_ptr, NULL); - - Logger::log(S3D::formatStringBuffer( - "Invalid PNG format.\n" -@@ -272,7 +272,7 @@ - // END NEW CODE - - /* clean up after the read, and free any memory allocated - REQUIRED */ -- png_destroy_read_struct(&png_ptr, &info_ptr, png_infopp_NULL); -+ png_destroy_read_struct(&png_ptr, &info_ptr, NULL); - - /* that's it */ - return true; -- cgit v1.2.3-54-g00ecf