]> git.pld-linux.org Git - packages/php-pecl-mongodb.git/blob - php-version.patch
it still compiles with php 5.4, so allow building it
[packages/php-pecl-mongodb.git] / php-version.patch
1 --- php54-pecl-mongodb-1.4.2/config.m4~ 2018-03-06 22:50:22.000000000 +0200
2 +++ php54-pecl-mongodb-1.4.2/config.m4  2018-04-02 23:07:46.043110993 +0300
3 @@ -86,8 +86,8 @@
4    PHP_MONGODB_FOUND_VERSION=`${PHP_CONFIG} --version`
5    PHP_MONGODB_FOUND_VERNUM=`echo "${PHP_MONGODB_FOUND_VERSION}" | $AWK 'BEGIN { FS = "."; } { printf "%d", ([$]1 * 100 + [$]2) * 100 + [$]3;}'`
6    AC_MSG_RESULT($PHP_MONGODB_FOUND_VERSION)
7 -  if test "$PHP_MONGODB_FOUND_VERNUM" -lt "50500"; then
8 -    AC_MSG_ERROR([not supported. Need a PHP version >= 5.5.0 (found $PHP_MONGODB_FOUND_VERSION)])
9 +  if test "$PHP_MONGODB_FOUND_VERNUM" -lt "50400"; then
10 +    AC_MSG_ERROR([not supported. Need a PHP version >= 5.4.0 (found $PHP_MONGODB_FOUND_VERSION)])
11    fi
12  
13    PHP_ARG_ENABLE([developer-flags],
This page took 0.047829 seconds and 3 git commands to generate.