public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-gfx/pngnq/files: pngnq-1.0-libpng14.patch
@ 2010-03-10 16:59 Samuli Suominen (ssuominen)
  0 siblings, 0 replies; only message in thread
From: Samuli Suominen (ssuominen) @ 2010-03-10 16:59 UTC (permalink / raw
  To: gentoo-commits

ssuominen    10/03/10 16:59:34

  Added:                pngnq-1.0-libpng14.patch
  Log:
  Fix building with libpng14.
  (Portage version: 2.2_rc66/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  media-gfx/pngnq/files/pngnq-1.0-libpng14.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/pngnq/files/pngnq-1.0-libpng14.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/pngnq/files/pngnq-1.0-libpng14.patch?rev=1.1&content-type=text/plain

Index: pngnq-1.0-libpng14.patch
===================================================================
http://aur.archlinux.org/packages.php?ID=10325

--- src/rwpng.c
+++ src/rwpng.c
@@ -80,7 +80,7 @@
      * have used slightly more general png_sig_cmp() function instead */
 
     fread(sig, 1, 8, infile);
-    if (!png_check_sig(sig, 8)) {
+    if (png_sig_cmp(sig, 0, 8)) {
         mainprog_ptr->retval = 21;   /* bad signature */
         return mainprog_ptr->retval;
     }






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-03-10 16:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-10 16:59 [gentoo-commits] gentoo-x86 commit in media-gfx/pngnq/files: pngnq-1.0-libpng14.patch 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