summaryrefslogtreecommitdiff
path: root/Build
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
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')
-rw-r--r--Build/source/texk/dvipdfmx/ChangeLog.TL6
-rw-r--r--Build/source/texk/dvipdfmx/src/pngimage.c2
-rw-r--r--Build/source/texk/web2c/xetexdir/ChangeLog6
-rw-r--r--Build/source/texk/web2c/xetexdir/pngimage.c2
-rw-r--r--Build/source/texk/xdvipdfmx/ChangeLog.TL6
-rw-r--r--Build/source/texk/xdvipdfmx/src/pngimage.c2
-rw-r--r--Build/source/texk/xdvipdfmx/src/xbb.c2
7 files changed, 22 insertions, 4 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;
diff --git a/Build/source/texk/web2c/xetexdir/ChangeLog b/Build/source/texk/web2c/xetexdir/ChangeLog
index 134ec50754b..954766c5b5a 100644
--- a/Build/source/texk/web2c/xetexdir/ChangeLog
+++ b/Build/source/texk/web2c/xetexdir/ChangeLog
@@ -1,3 +1,9 @@
+2010-02-22 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * pngimage.c (check_for_png): Replace png_check_sig() by
+ png_sig_cmp() for libpng-1.4.
+ From Hanno Boeck <hanno@hboeck,de>.
+
2009-12-12 Peter Breitenlohner <peb@mppmu.mpg.de>
* am/xetex.am: Replace the obsolete $(mkdir_p) by $(MKDIR_P).
diff --git a/Build/source/texk/web2c/xetexdir/pngimage.c b/Build/source/texk/web2c/xetexdir/pngimage.c
index 9408fbabc39..0701c4f46d0 100644
--- a/Build/source/texk/web2c/xetexdir/pngimage.c
+++ b/Build/source/texk/web2c/xetexdir/pngimage.c
@@ -101,7 +101,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;
diff --git a/Build/source/texk/xdvipdfmx/ChangeLog.TL b/Build/source/texk/xdvipdfmx/ChangeLog.TL
index 00cea4a43fe..c2eadd689a6 100644
--- a/Build/source/texk/xdvipdfmx/ChangeLog.TL
+++ b/Build/source/texk/xdvipdfmx/ChangeLog.TL
@@ -1,6 +1,12 @@
ChangeLog.TL: TeX Live (TL) changes for xdvipdfmx
=================================================
+2010-02-22 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * src/pngimage.c (check_for_png), src/xbb.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>
* configure.ac: Don't fail configure if not building xdvipdfmx.
diff --git a/Build/source/texk/xdvipdfmx/src/pngimage.c b/Build/source/texk/xdvipdfmx/src/pngimage.c
index 0176411e514..f4ac85c958e 100644
--- a/Build/source/texk/xdvipdfmx/src/pngimage.c
+++ b/Build/source/texk/xdvipdfmx/src/pngimage.c
@@ -146,7 +146,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;
diff --git a/Build/source/texk/xdvipdfmx/src/xbb.c b/Build/source/texk/xdvipdfmx/src/xbb.c
index 458fb7e1b0e..809fae8e594 100644
--- a/Build/source/texk/xdvipdfmx/src/xbb.c
+++ b/Build/source/texk/xdvipdfmx/src/xbb.c
@@ -246,7 +246,7 @@ static int check_for_png (FILE *png_file)
unsigned char sigbytes[4];
rewind (png_file);
if (fread(sigbytes, 1, sizeof(sigbytes), png_file) != sizeof(sigbytes) ||
- (!png_check_sig (sigbytes, sizeof(sigbytes)))) return 0;
+ (png_sig_cmp (sigbytes, 0, sizeof(sigbytes)))) return 0;
else return 1;
}