diff options
Diffstat (limited to 'dev-lang/php/files/php-5.2.12-libpng14.patch')
-rw-r--r-- | dev-lang/php/files/php-5.2.12-libpng14.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-lang/php/files/php-5.2.12-libpng14.patch b/dev-lang/php/files/php-5.2.12-libpng14.patch new file mode 100644 index 0000000..90f015f --- /dev/null +++ b/dev-lang/php/files/php-5.2.12-libpng14.patch @@ -0,0 +1,11 @@ +--- ext/gd/libgd/gd_png.c ++++ ext/gd/libgd/gd_png.c +@@ -139,7 +139,7 @@ + return NULL; + } + +- if (!png_check_sig (sig, 8)) { /* bad signature */ ++ if (png_sig_cmp (sig, 0, 8)) { /* bad signature */ + return NULL; + } + |