aboutsummaryrefslogtreecommitdiff
path: root/www/dillo-i18n
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2010-04-02 14:28:37 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2010-04-02 14:28:37 +0000
commit04f0db98ed2f28f62f89fefd31af02488c0d8d48 (patch)
treee3010095048e3349c7aa3896c200834326c0e43c /www/dillo-i18n
parent6e86f2cfd102697d8a31e0e26e4360f2d20c23ec (diff)
downloadports-04f0db98ed2f28f62f89fefd31af02488c0d8d48.tar.gz
ports-04f0db98ed2f28f62f89fefd31af02488c0d8d48.zip
- fix build for png-1.4.1
Notes
Notes: svn path=/head/; revision=252033
Diffstat (limited to 'www/dillo-i18n')
-rw-r--r--www/dillo-i18n/files/patch-src-png.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/dillo-i18n/files/patch-src-png.c b/www/dillo-i18n/files/patch-src-png.c
new file mode 100644
index 000000000000..f63b35aeb52f
--- /dev/null
+++ b/www/dillo-i18n/files/patch-src-png.c
@@ -0,0 +1,11 @@
+--- src/png.c.orig 2005-10-27 18:20:14.000000000 +0200
++++ src/png.c 2010-03-29 21:23:10.000000000 +0200
+@@ -355,7 +355,7 @@
+ return; /* need MORE data */
+ }
+ /* check the image signature - DON'T update ipbufstart! */
+- if (!png_check_sig(png->ipbuf, DATASIZE)) {
++ if (png_sig_cmp(png->ipbuf, 0, DATASIZE)) {
+ /* you lied to me about it being a PNG image */
+ png->state = IS_finished;
+ break;