diff options
Diffstat (limited to 'patches')
-rwxr-xr-x | patches/php/php.SlackBuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/patches/php/php.SlackBuild b/patches/php/php.SlackBuild index 8ad84c96..50c23cf2 100755 --- a/patches/php/php.SlackBuild +++ b/patches/php/php.SlackBuild @@ -248,7 +248,9 @@ find . -name "*.h" -exec chmod 644 {} \; find . -name "*.orig" -exec rm {} \; # Fix a UTF-8 parsing overflow: -zcat $CWD/php4.utf8.diff.gz | patch -p1 --verbose --backup --suffix=.orig || exit $ERROR_PATCH +if [[ `echo $VERSION | tr -dc '[[:digit:]]'` -lt 445 ]]; then + zcat $CWD/php4.utf8.diff.gz | patch -p1 --verbose --backup --suffix=.orig || exit $ERROR_PATCH +fi # Patch ini files: |