* restore version scheme for php-5.2, missing treatment at introduced PECL_LEGACY_VERSION_SCHEME. * add an patch to fix build on php>=5.3.