Merge branch 'PHP-5.3' of https://git.php.net/push/php-src into PHP-5.3

* 'PHP-5.3' of https://git.php.net/push/php-src:
  Fixed bug #64770 stream_select() fails with pipes
better fix for bug #64770
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  better fix for bug #64770
better fix for bug #64770
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  better fix for bug #64770
  better fix for bug #64770
Merge branch 'PHP-5.5'

* PHP-5.5:
  better fix for bug #64770
  better fix for bug #64770
Fix #64749 (warning: cast from pointer to integer of different size)
Merge branch 'PHP-5.5'
Allow to use new GD-2.1.0 function from system library
Remove overflow2, getmbi and skipheader, since they are not needed anymore.
* Remove overflow2, getmbi and skipheaders from gd_compat.h * Add missing return in _php_ctx_getmbi * Reintroduce imagecreatefromxbm by checking for gdCreateImageFromXbm
Required GD >= 2.1.0 or GD bundled, this allows us to remove most of the #ifdef
Rewrite Xpm library check so it doesn't break on MultiArch systems
Remove extra unused functions from gd_compat.h
Move png and jpeg version functions to gd.c so the external library build doesn't include anything from libgd/.
fix build with bundled libgd
NEWS
Merge branch 'PHP-5.5'

* PHP-5.5:
  NEWS
  fix build with bundled libgd
  Move png and jpeg version functions to gd.c so the external library build doesn't include anything from libgd/.
  Remove extra unused functions from gd_compat.h
  Rewrite Xpm library check so it doesn't break on MultiArch systems
  Required GD >= 2.1.0 or GD bundled, this allows us to remove most of the #ifdef
  * Remove overflow2, getmbi and skipheaders from gd_compat.h * Add missing return in _php_ctx_getmbi * Reintroduce imagecreatefromxbm by checking for gdCreateImageFromXbm
  Remove overflow2, getmbi and skipheader, since they are not needed anymore.
  Allow to use new GD-2.1.0 function from system library
gd: fix typo and cleanups
Merge branch 'PHP-5.5'

* PHP-5.5:
  gd: fix typo and cleanups