aboutsummaryrefslogtreecommitdiff
path: root/graphics/xli/files
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2010-03-28 12:50:51 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2010-03-28 12:50:51 +0000
commit350f3a0f284928215c7bb999c35668ea236d1c7c (patch)
treea2e37630d560520d7e106a54bbe7b559144660cc /graphics/xli/files
parent5ab8951ecdd2c88ed2b8911e197d09b053ba8ea3 (diff)
downloadports-350f3a0f284928215c7bb999c35668ea236d1c7c.tar.gz
ports-350f3a0f284928215c7bb999c35668ea236d1c7c.zip
- fix build for png-1.4.1
PR: 145106 Submitted by: Christoph Moench-Tegeder
Notes
Notes: svn path=/head/; revision=251628
Diffstat (limited to 'graphics/xli/files')
-rw-r--r--graphics/xli/files/patch-png.c20
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);
+ }