diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2010-03-29 13:38:27 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2010-03-29 13:38:27 +0000 |
commit | 244c703e25cf40b631e8f4f52ece8f2c83a1a89f (patch) | |
tree | a0d30a4ab561c223d02e5cf3d69e1c1ccdf4901e /graphics/pngnq/files | |
parent | 10bad669aeac6a5f8291b855dce1ec2683288d49 (diff) | |
download | ports-244c703e25cf40b631e8f4f52ece8f2c83a1a89f.tar.gz ports-244c703e25cf40b631e8f4f52ece8f2c83a1a89f.zip |
Notes
Diffstat (limited to 'graphics/pngnq/files')
-rw-r--r-- | graphics/pngnq/files/patch-rwpng.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/pngnq/files/patch-rwpng.c b/graphics/pngnq/files/patch-rwpng.c new file mode 100644 index 000000000000..195051162411 --- /dev/null +++ b/graphics/pngnq/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; + } |