diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2010-04-23 15:53:34 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2010-04-23 15:53:34 +0000 |
commit | d111d16900ba8617e77a050fb56ea2d7b8a8a356 (patch) | |
tree | b053a3cb6449405fccc081154e3eeb84812519fe /graphics/php52-gd/files | |
parent | 9dc8b611a5b09b846c90e4986efd921178a7c50c (diff) | |
download | ports-d111d16900ba8617e77a050fb56ea2d7b8a8a356.tar.gz ports-d111d16900ba8617e77a050fb56ea2d7b8a8a356.zip |
Notes
Diffstat (limited to 'graphics/php52-gd/files')
-rw-r--r-- | graphics/php52-gd/files/patch-config.m4 | 11 | ||||
-rw-r--r-- | graphics/php52-gd/files/patch-libgd_gd_png.c | 14 |
2 files changed, 25 insertions, 0 deletions
diff --git a/graphics/php52-gd/files/patch-config.m4 b/graphics/php52-gd/files/patch-config.m4 new file mode 100644 index 000000000000..03b69a1c248a --- /dev/null +++ b/graphics/php52-gd/files/patch-config.m4 @@ -0,0 +1,11 @@ +--- config.m4.orig Mon May 30 01:16:41 2005 ++++ config.m4 Wed Dec 7 11:01:13 2005 +@@ -220,7 +220,7 @@ + ],[ + AC_MSG_ERROR([Problem with libt1.(a|so). Please check config.log for more information.]) + ],[ +- -L$GD_T1_DIR/$PHP_LIBDIR ++ -L$GD_T1_DIR/$PHP_LIBDIR -lm + ]) + fi + ]) diff --git a/graphics/php52-gd/files/patch-libgd_gd_png.c b/graphics/php52-gd/files/patch-libgd_gd_png.c new file mode 100644 index 000000000000..95934bfc5089 --- /dev/null +++ b/graphics/php52-gd/files/patch-libgd_gd_png.c @@ -0,0 +1,14 @@ +--- libgd/gd_png.c.orig 2009-03-14 18:48:42.000000000 +0100 ++++ libgd/gd_png.c 2010-04-05 19:54:05.000000000 +0200 +@@ -139,7 +139,11 @@ + return NULL; + } + ++#if PNG_LIBPNG_VER >= 10400 ++ if (png_sig_cmp (sig, 0, 8)) { /* bad signature */ ++#else + if (!png_check_sig (sig, 8)) { /* bad signature */ ++#endif + return NULL; + } + |