diff options
author | dinoex <dinoex@FreeBSD.org> | 2010-03-28 20:50:51 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2010-03-28 20:50:51 +0800 |
commit | 551987c07c5660cc27e79561c303e1d4b33c40ac (patch) | |
tree | 99dfa79bb8a8dabbb5ad2fc5e54c0b144f87cc44 /graphics | |
parent | 25d7fcd73aff49b5cd98ab8b39460d670e29fa65 (diff) | |
download | freebsd-ports-gnome-551987c07c5660cc27e79561c303e1d4b33c40ac.tar.gz freebsd-ports-gnome-551987c07c5660cc27e79561c303e1d4b33c40ac.tar.zst freebsd-ports-gnome-551987c07c5660cc27e79561c303e1d4b33c40ac.zip |
- fix build for png-1.4.1
PR: 145106
Submitted by: Christoph Moench-Tegeder
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/xli/files/patch-png.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/graphics/xli/files/patch-png.c b/graphics/xli/files/patch-png.c new file mode 100644 index 000000000000..4a86159680e9 --- /dev/null +++ b/graphics/xli/files/patch-png.c @@ -0,0 +1,20 @@ +--- png.c.orig 2010-03-28 13:05:30.000000000 +0200 ++++ png.c 2010-03-28 13:06:28.000000000 +0200 +@@ -11,7 +11,7 @@ + + #define TITLE_KEYWORD "Title" + +-/* check to see if a file is a png file using png_check_sig() */ ++/* check to see if a file is a png file using png_sig_cmp() */ + static int check_png(char *file_name) + { + ZFILE *zfp; +@@ -27,7 +27,7 @@ + if (ret != 8) + return 0; + +- ret = png_check_sig(buf, 8); ++ ret = png_sig_cmp(buf, 0, 8); + + return (ret); + } |