diff options
Diffstat (limited to 'graphics/pngquant/files/patch-rwpng.c')
| -rw-r--r-- | graphics/pngquant/files/patch-rwpng.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/pngquant/files/patch-rwpng.c b/graphics/pngquant/files/patch-rwpng.c new file mode 100644 index 000000000000..195051162411 --- /dev/null +++ b/graphics/pngquant/files/patch-rwpng.c @@ -0,0 +1,11 @@ +--- rwpng.c.orig 2006-06-15 11:39:29.000000000 +0200 ++++ rwpng.c 2010-03-29 15:35:32.000000000 +0200 +@@ -77,7 +77,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; + } |
