]> git.pld-linux.org Git - packages/php.git/commitdiff
- rel 3; famous float bug on 32bit matchines fix auto/th/php-5_3_4-3
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 6 Jan 2011 15:47:32 +0000 (15:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php-bug-float.patch -> 1.1
    php.spec -> 1.913

php-bug-float.patch [new file with mode: 0644]
php.spec

diff --git a/php-bug-float.patch b/php-bug-float.patch
new file mode 100644 (file)
index 0000000..6531079
--- /dev/null
@@ -0,0 +1,11 @@
+--- PHP_5_3/Zend/zend_strtod.c 2011/01/04 22:01:09     307094
++++ PHP_5_3/Zend/zend_strtod.c 2011/01/04 22:36:23     307095
+@@ -2035,7 +2035,7 @@
+       int bb2, bb5, bbe, bd2, bd5, bbbits, bs2, c, dsign,
+               e, e1, esign, i, j, k, nd, nd0, nf, nz, nz0, sign;
+       CONST char *s, *s0, *s1;
+-      double aadj, aadj1, adj;
++      volatile double aadj, aadj1, adj;
+       volatile _double rv, rv0;
+       Long L;
+       ULong y, z;
index 8c26a8a83d98bc8a266b45043bbf39428d838557..8560fe255e7ce6c190b0e73a3df87359472d5057 100644 (file)
--- a/php.spec
+++ b/php.spec
@@ -101,7 +101,7 @@ ERROR: You need to select at least one Apache SAPI to build shared modules.
 %undefine      with_filter
 %endif
 
-%define                rel             2
+%define                rel             3
 Summary:       PHP: Hypertext Preprocessor
 Summary(fr.UTF-8):     Le langage de script embarque-HTML PHP
 Summary(pl.UTF-8):     Język skryptowy PHP
@@ -183,6 +183,7 @@ Patch57:    bug-52448.patch
 Patch59:       %{name}-systzdata.patch
 Patch60:       %{name}-oracle-instantclient.patch
 Patch61:       %{name}-krb5-ac.patch
+Patch62:       %{name}-bug-float.patch
 URL:           http://www.php.net/
 %{?with_interbase:%{!?with_interbase_inst:BuildRequires:       Firebird-devel >= 1.0.2.908-2}}
 %{?with_pspell:BuildRequires:  aspell-devel >= 2:0.50.0}
@@ -1857,6 +1858,7 @@ cp php.ini-production php.ini
 %patch59 -p1
 %patch60 -p1
 %patch61 -p1
+%patch62 -p1
 
 %if "%{pld_release}" != "ac"
 sed -i -e '/PHP_ADD_LIBRARY_WITH_PATH/s#xmlrpc,#xmlrpc-epi,#' ext/xmlrpc/config.m4
This page took 0.046668 seconds and 4 git commands to generate.