]> gitweb.fluxo.info Git - slackbuilds.git/commitdiff
php update
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>
Tue, 6 Mar 2007 03:32:51 +0000 (03:32 +0000)
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>
Tue, 6 Mar 2007 03:32:51 +0000 (03:32 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1083 370017ae-e619-0410-ac65-c121f96126d4

patches/php/php.SlackBuild

index 8ad84c962c5d6bfa0f6fea122339f9e9aa30076e..50c23cf2e4cf28236d3e93682f444f45033670af 100755 (executable)
@@ -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: