diff options
author | dinoex <dinoex@FreeBSD.org> | 2010-04-02 22:28:37 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2010-04-02 22:28:37 +0800 |
commit | 166a757a5d88ea45941410cb0e4e65f7e0699fa7 (patch) | |
tree | d35923293eb6589c66a87f3618c5e0ae4fe589a5 | |
parent | 851ed42cf666777580460397267ab6957c84ab69 (diff) | |
download | freebsd-ports-gnome-166a757a5d88ea45941410cb0e4e65f7e0699fa7.tar.gz freebsd-ports-gnome-166a757a5d88ea45941410cb0e4e65f7e0699fa7.tar.zst freebsd-ports-gnome-166a757a5d88ea45941410cb0e4e65f7e0699fa7.zip |
- fix build for png-1.4.1
-rw-r--r-- | www/dillo-i18n/files/patch-src-png.c | 11 | ||||
-rw-r--r-- | www/dillo2/files/patch-src-png.c | 11 |
2 files changed, 22 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; diff --git a/www/dillo2/files/patch-src-png.c b/www/dillo2/files/patch-src-png.c new file mode 100644 index 000000000000..f63b35aeb52f --- /dev/null +++ b/www/dillo2/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; |