diff options
Diffstat (limited to 'media-libs/gd/files/gd-2.0.35-libpng14.patch')
-rw-r--r-- | media-libs/gd/files/gd-2.0.35-libpng14.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/media-libs/gd/files/gd-2.0.35-libpng14.patch b/media-libs/gd/files/gd-2.0.35-libpng14.patch new file mode 100644 index 000000000000..98b6461267d9 --- /dev/null +++ b/media-libs/gd/files/gd-2.0.35-libpng14.patch @@ -0,0 +1,14 @@ +http://bugs.gentoo.org/show_bug.cgi?id=305101 +http://repos.archlinux.org/wsvn/packages/gd/trunk/libpng14.patch + +--- gd_png.c ++++ gd_png.c +@@ -149,7 +149,7 @@ + return NULL; + } + +- if (!png_check_sig (sig, 8)) { /* bad signature */ ++ if (png_sig_cmp (sig, 0, 8)) { /* bad signature */ + return NULL; /* bad signature */ + } + |