diff options
Diffstat (limited to 'games-sports/gracer/files/gracer-0.1.5-libpng14.patch')
-rw-r--r-- | games-sports/gracer/files/gracer-0.1.5-libpng14.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/games-sports/gracer/files/gracer-0.1.5-libpng14.patch b/games-sports/gracer/files/gracer-0.1.5-libpng14.patch new file mode 100644 index 000000000000..618c987a3152 --- /dev/null +++ b/games-sports/gracer/files/gracer-0.1.5-libpng14.patch @@ -0,0 +1,13 @@ +http://bugs.gentoo.org/show_bug.cgi?id=308885 + +--- a/common/gr_texture.c ++++ b/common/gr_texture.c +@@ -419,7 +419,7 @@ read_png_file (GrTexture *texture, char + if (fread (header, 1, PNG_BYTES_TO_CHECK, file) != PNG_BYTES_TO_CHECK) { + goto ERROR; + } +- if (!png_check_sig (header, PNG_BYTES_TO_CHECK)) { ++ if (png_sig_cmp (header, 0, PNG_BYTES_TO_CHECK)) { + goto ERROR; + } + |