diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2010-03-30 07:39:09 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2010-03-30 07:39:09 +0000 |
commit | fef22f23973ec7083d8f90612cecab1d2b534fa0 (patch) | |
tree | 1f6efa1b7516681fe4778c88a255a39ec875ff32 /databases | |
parent | 4c287330b21749142162cd82864a8ef485387e43 (diff) | |
download | ports-fef22f23973ec7083d8f90612cecab1d2b534fa0.tar.gz ports-fef22f23973ec7083d8f90612cecab1d2b534fa0.zip |
Notes
Diffstat (limited to 'databases')
-rw-r--r-- | databases/clip/files/patch-cliplibs_clip-gd_gd_gd_png.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/clip/files/patch-cliplibs_clip-gd_gd_gd_png.c b/databases/clip/files/patch-cliplibs_clip-gd_gd_gd_png.c new file mode 100644 index 000000000000..35dc38f557ae --- /dev/null +++ b/databases/clip/files/patch-cliplibs_clip-gd_gd_gd_png.c @@ -0,0 +1,11 @@ +--- cliplibs/clip-gd/gd/gd_png.c.orig 2006-06-22 22:12:04.000000000 +0200 ++++ cliplibs/clip-gd/gd/gd_png.c 2010-03-30 07:27:48.000000000 +0200 +@@ -122,7 +122,7 @@ + /* first do a quick check that the file really is a PNG image; could + * have used slightly more general png_sig_cmp() function instead */ + gdGetBuf(sig, 8, infile); +- if (!png_check_sig(sig, 8)) ++ if (png_sig_cmp(sig, 0, 8)) + return NULL; /* bad signature */ + + #ifndef PNG_SETJMP_NOT_SUPPORTED |