]> git.pld-linux.org Git - packages/php.git/commitdiff
- add fix for bug 50563: parse_url produces warnings auto/th/php52-5.2.17-27
authorElan Ruusamäe <glen@delfi.ee>
Mon, 31 Dec 2012 12:37:05 +0000 (14:37 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 31 Dec 2012 12:37:05 +0000 (14:37 +0200)
bug-50563.patch [new file with mode: 0644]
php.spec

diff --git a/bug-50563.patch b/bug-50563.patch
new file mode 100644 (file)
index 0000000..9227ac2
--- /dev/null
@@ -0,0 +1,14 @@
+https://bugs.php.net/bug.php?id=50563
+
+do not throw warning as php 5.3.3 does not
+--- php/php-src/branches/PHP_5_3/ext/standard/url.c    2010/06/16 18:45:54     300500
++++ php/php-src/branches/PHP_5_3/ext/standard/url.c    2010/06/16 18:56:24     300501
+@@ -355,7 +355,7 @@
+       resource = php_url_parse_ex(str, str_len);
+       if (resource == NULL) {
+-              php_error_docref1(NULL TSRMLS_CC, str, E_WARNING, "Unable to parse URL");
++              /* @todo Find a method to determine why php_url_parse_ex() failed */
+               RETURN_FALSE;
+       }
index 05446fef3cfe679beb40e270b65ebe19038c4a5d..cb2c9bf5419dbef3dd3da156e48d46fcf58fd1dd 100644 (file)
--- a/php.spec
+++ b/php.spec
@@ -120,7 +120,7 @@ Summary(ru.UTF-8):  PHP Версии 5 - язык препроцессирова
 Summary(uk.UTF-8):     PHP Версії 5 - мова препроцесування HTML-файлів, виконувана на сервері
 Name:          %{orgname}%{php_suffix}
 Version:       5.2.17
-Release:       26
+Release:       27
 Epoch:         4
 License:       PHP
 Group:         Libraries
@@ -206,6 +206,7 @@ Patch65:    system-libzip.patch
 Patch66:       bug-47930.patch
 Patch67:       php-db.patch
 Patch68:       php-libxml.patch
+Patch69:       bug-50563.patch
 # CENTALT patches
 # CVE
 Patch201: php-5.2.17-CVE-2011-2202.patch
@@ -1989,6 +1990,7 @@ done
 %patch66 -p2
 %patch67 -p1
 %patch68 -p1
+%patch69 -p4
 
 %patch201 -p1 -b .CVE-2011-2202
 %patch202 -p1 -b .CVE-2011-1938
This page took 0.243985 seconds and 4 git commands to generate.