summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-03-09 20:55:40 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-03-09 20:55:40 +0000
commit984178e654eb3895a46e767dab2e30e94cec3826 (patch)
tree65b484b8f5dcc39cb9c60958f5e3c39e86f78174 /dev-games/crystalspace/files
parentVersion bump, small bug fixes. Fixes Gentoo bug 307479. Moved to BerliOS (diff)
downloadgentoo-2-984178e654eb3895a46e767dab2e30e94cec3826.tar.gz
gentoo-2-984178e654eb3895a46e767dab2e30e94cec3826.tar.bz2
gentoo-2-984178e654eb3895a46e767dab2e30e94cec3826.zip
Use upstream patch and link to tracking system.
(Portage version: 2.2_rc66/cvs/Linux x86_64)
Diffstat (limited to 'dev-games/crystalspace/files')
-rw-r--r--dev-games/crystalspace/files/crystalspace-1.2.1-libpng14.patch5
1 files changed, 2 insertions, 3 deletions
diff --git a/dev-games/crystalspace/files/crystalspace-1.2.1-libpng14.patch b/dev-games/crystalspace/files/crystalspace-1.2.1-libpng14.patch
index cb7998115a5b..2ee262d87d4f 100644
--- a/dev-games/crystalspace/files/crystalspace-1.2.1-libpng14.patch
+++ b/dev-games/crystalspace/files/crystalspace-1.2.1-libpng14.patch
@@ -1,5 +1,4 @@
-http://permalink.gmane.org/gmane.comp.graphics.crystalspace.tracker/5630
-http://www.libpng.org/pub/png/src/libpng-1.2.x-to-1.4.x-summary.txt
+http://trac.crystalspace3d.org/trac/CS/ticket/803
--- plugins/video/loader/png/pngimage.cpp
+++ plugins/video/loader/png/pngimage.cpp
@@ -8,7 +7,7 @@ http://www.libpng.org/pub/png/src/libpng-1.2.x-to-1.4.x-summary.txt
const size_t iSize = dataSource->GetSize();
- if (!png_check_sig (iBuffer, (int)iSize))
-+ if (png_sig_cmp (iBuffer, 0, (int)iSize))
++ if (png_sig_cmp (iBuffer, 0, (int)iSize) != 0)
return false;
png = png_create_read_struct (PNG_LIBPNG_VER_STRING, 0, 0, 0);
if (!png)