summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipdfmx
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2010-02-22 15:46:54 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2010-02-22 15:46:54 +0000
commit8de0467190e36fe1b7eea71bb413852b68faf152 (patch)
tree13e4faf392e4157d1c5a0ee659232bcf79d0070e /Build/source/texk/dvipdfmx
parentb8a9df64642af8ddaaa118405710e1dac69b09d5 (diff)
build fix for libpng-1.4
git-svn-id: svn://tug.org/texlive/trunk@17145 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfmx')
-rw-r--r--Build/source/texk/dvipdfmx/ChangeLog.TL6
-rw-r--r--Build/source/texk/dvipdfmx/src/pngimage.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/Build/source/texk/dvipdfmx/ChangeLog.TL b/Build/source/texk/dvipdfmx/ChangeLog.TL
index 1f7aa130c05..db1ceb56780 100644
--- a/Build/source/texk/dvipdfmx/ChangeLog.TL
+++ b/Build/source/texk/dvipdfmx/ChangeLog.TL
@@ -1,6 +1,12 @@
ChangeLog.TL: TeX Live (TL) changes for dvipdfmx
================================================
+2010-02-22 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * src/pngimage.c (check_for_png): Replace png_check_sig() by
+ png_sig_cmp() for libpng-1.4.
+ From Hanno Boeck <hanno@hboeck,de>.
+
2010-02-20 Peter Breitenlohner <peb@mppmu.mpg.de>
* src/sfnt.h: #define CHAR as SFNT_CHAR to avoid conflict with
diff --git a/Build/source/texk/dvipdfmx/src/pngimage.c b/Build/source/texk/dvipdfmx/src/pngimage.c
index db6ef2bcc95..a72a622b825 100644
--- a/Build/source/texk/dvipdfmx/src/pngimage.c
+++ b/Build/source/texk/dvipdfmx/src/pngimage.c
@@ -148,7 +148,7 @@ check_for_png (FILE *png_file)
rewind (png_file);
if (fread (sigbytes, 1, sizeof(sigbytes), png_file) !=
sizeof(sigbytes) ||
- (!png_check_sig (sigbytes, sizeof(sigbytes))))
+ (png_sig_cmp (sigbytes, 0, sizeof(sigbytes))))
return 0;
else
return 1;