diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2010-05-19 08:58:23 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2018-05-31 22:43:05 +0200 |
commit | b76270bf9e6dd375e495fec92140a79a79415d27 (patch) | |
tree | 3dbed78b2279bf9f14207a16dc634b90995cbd40 /source/t/tetex/tetex.png14.diff | |
parent | 5a12e7c134274dba706667107d10d231517d3e05 (diff) | |
download | current-b76270bf9e6dd375e495fec92140a79a79415d27.tar.gz current-b76270bf9e6dd375e495fec92140a79a79415d27.tar.xz |
Slackware 13.1slackware-13.1
Wed May 19 08:58:23 UTC 2010
Slackware 13.1 x86_64 stable is released!
Lots of thanks are due -- see the RELEASE_NOTES and the rest of the
ChangeLog for credits. The ISOs are on their way to replication,
a 6 CD-ROM 32-bit set and a dual-sided 32-bit/64-bit x86/x86_64 DVD.
We are taking pre-orders now at store.slackware.com, and offering
a discount if you sign up for a subscription. Consider picking up
a copy to help support the project. Thanks again to the Slackware
community for testing, contributing, and generally holding us to a
high level of quality. :-)
Enjoy!
Diffstat (limited to 'source/t/tetex/tetex.png14.diff')
-rw-r--r-- | source/t/tetex/tetex.png14.diff | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/source/t/tetex/tetex.png14.diff b/source/t/tetex/tetex.png14.diff new file mode 100644 index 000000000..4f6548ace --- /dev/null +++ b/source/t/tetex/tetex.png14.diff @@ -0,0 +1,33 @@ +--- ./texk/dvipdfm/pngimage.c.orig 2002-12-25 11:51:16.000000000 -0600 ++++ ./texk/dvipdfm/pngimage.c 2010-02-19 11:43:18.000000000 -0600 +@@ -42,7 +42,7 @@ + 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)) == 0))) + return 0; + else + return 1; +--- ./texk/dvipdfm/thumbnail.c.orig 2002-12-25 11:51:16.000000000 -0600 ++++ ./texk/dvipdfm/thumbnail.c 2010-02-19 11:42:41.000000000 -0600 +@@ -79,7 +79,7 @@ + } + if (fread (sigbytes, 1, sizeof(sigbytes), thumb_file) != + sizeof(sigbytes) || +- (!png_check_sig (sigbytes, sizeof(sigbytes)))) { ++ (!(png_sig_cmp(sigbytes, 0, sizeof(sigbytes)) == 0))) { + fprintf (stderr, "\nThumbnail not a png file! Skipping\n"); + return NULL; + } +--- ./libs/gd/gd_png.c.orig 2004-10-28 13:09:52.000000000 -0500 ++++ ./libs/gd/gd_png.c 2010-02-19 11:52:06.000000000 -0600 +@@ -143,7 +143,7 @@ + /* first do a quick check that the file really is a PNG image; could + * have used slightly more general png_sig_cmp() function instead */ + gdGetBuf (sig, 8, infile); +- if (!png_check_sig (sig, 8)) ++ if (!(png_sig_cmp(sig, 0, 8) == 0)) + return NULL; /* bad signature */ + + #ifndef PNG_SETJMP_NOT_SUPPORTED |