* [gentoo-commits] gentoo-x86 commit in dev-games/crystalspace/files: crystalspace-1.2.1-libpng14.patch
@ 2010-03-09 6:06 Samuli Suominen (ssuominen)
0 siblings, 0 replies; 3+ messages in thread
From: Samuli Suominen (ssuominen) @ 2010-03-09 6:06 UTC (permalink / raw
To: gentoo-commits
ssuominen 10/03/09 06:06:34
Added: crystalspace-1.2.1-libpng14.patch
Log:
Fix building with libpng14.
(Portage version: 2.2_rc65/cvs/Linux x86_64)
Revision Changes Path
1.1 dev-games/crystalspace/files/crystalspace-1.2.1-libpng14.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-games/crystalspace/files/crystalspace-1.2.1-libpng14.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-games/crystalspace/files/crystalspace-1.2.1-libpng14.patch?rev=1.1&content-type=text/plain
Index: crystalspace-1.2.1-libpng14.patch
===================================================================
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
--- plugins/video/loader/png/pngimage.cpp
+++ plugins/video/loader/png/pngimage.cpp
@@ -378,7 +378,7 @@
const png_bytep iBuffer = dataSource->GetUint8();
const size_t iSize = dataSource->GetSize();
- if (!png_check_sig (iBuffer, (int)iSize))
+ if (png_sig_cmp (iBuffer, 0, (int)iSize))
return false;
png = png_create_read_struct (PNG_LIBPNG_VER_STRING, 0, 0, 0);
if (!png)
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gentoo-commits] gentoo-x86 commit in dev-games/crystalspace/files: crystalspace-1.2.1-libpng14.patch
@ 2010-03-09 20:55 Samuli Suominen (ssuominen)
0 siblings, 0 replies; 3+ messages in thread
From: Samuli Suominen (ssuominen) @ 2010-03-09 20:55 UTC (permalink / raw
To: gentoo-commits
ssuominen 10/03/09 20:55:39
Modified: crystalspace-1.2.1-libpng14.patch
Log:
Use upstream patch and link to tracking system.
(Portage version: 2.2_rc66/cvs/Linux x86_64)
Revision Changes Path
1.2 dev-games/crystalspace/files/crystalspace-1.2.1-libpng14.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-games/crystalspace/files/crystalspace-1.2.1-libpng14.patch?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-games/crystalspace/files/crystalspace-1.2.1-libpng14.patch?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-games/crystalspace/files/crystalspace-1.2.1-libpng14.patch?r1=1.1&r2=1.2
Index: crystalspace-1.2.1-libpng14.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-games/crystalspace/files/crystalspace-1.2.1-libpng14.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- crystalspace-1.2.1-libpng14.patch 9 Mar 2010 06:06:33 -0000 1.1
+++ crystalspace-1.2.1-libpng14.patch 9 Mar 2010 20:55:39 -0000 1.2
@@ -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 @@
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)
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gentoo-commits] gentoo-x86 commit in dev-games/crystalspace/files: crystalspace-1.2.1-libpng14.patch
@ 2011-10-19 16:12 Samuli Suominen (ssuominen)
0 siblings, 0 replies; 3+ messages in thread
From: Samuli Suominen (ssuominen) @ 2011-10-19 16:12 UTC (permalink / raw
To: gentoo-commits
ssuominen 11/10/19 16:12:13
Removed: crystalspace-1.2.1-libpng14.patch
Log:
old, part of bug 330683
(Portage version: 2.2.0_alpha69/cvs/Linux x86_64)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-10-19 16:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-09 20:55 [gentoo-commits] gentoo-x86 commit in dev-games/crystalspace/files: crystalspace-1.2.1-libpng14.patch Samuli Suominen (ssuominen)
-- strict thread matches above, loose matches on Subject: below --
2011-10-19 16:12 Samuli Suominen (ssuominen)
2010-03-09 6:06 Samuli Suominen (ssuominen)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox