diff options
author | dinoex <dinoex@FreeBSD.org> | 2010-03-30 15:39:09 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2010-03-30 15:39:09 +0800 |
commit | a7f1c68bf5fc668b4f8a7118ce91868be3d79e0a (patch) | |
tree | fdb2b3871432b9d61fb1236af4995e7cba3fb132 /databases | |
parent | e7d9ae83ea532a52884405f96393feab55b26afd (diff) | |
download | freebsd-ports-gnome-a7f1c68bf5fc668b4f8a7118ce91868be3d79e0a.tar.gz freebsd-ports-gnome-a7f1c68bf5fc668b4f8a7118ce91868be3d79e0a.tar.zst freebsd-ports-gnome-a7f1c68bf5fc668b4f8a7118ce91868be3d79e0a.zip |
- fix build for png-1.4.1
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 |