[packages/php] rel 3; autoglobal variables are available on demand by other code (so weren't available here). Reque

arekm arekm at pld-linux.org
Thu Mar 13 12:48:33 CET 2014


commit 544f61514da79d60153550cc0748c7bb9b2afe08
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Mar 13 12:48:29 2014 +0100

    rel 3; autoglobal variables are available on demand by other code (so weren't available here). Request to make these variables available in this code.

 php-mail.patch | 2 +-
 php.spec       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/php.spec b/php.spec
index 51c2287..0ee704e 100644
--- a/php.spec
+++ b/php.spec
@@ -119,7 +119,7 @@ ERROR: You need to select at least one Apache SAPI to build shared modules.
 %endif
 %endif
 
-%define		rel	2
+%define		rel	3
 %define		orgname	php
 %define		ver_suffix 53
 %define		php_suffix %{!?with_default_php:%{ver_suffix}}
diff --git a/php-mail.patch b/php-mail.patch
index 272b2f9..257a9c4 100644
--- a/php-mail.patch
+++ b/php-mail.patch
@@ -51,7 +51,7 @@
 +		if ((subject != NULL) && (strlen(subject)!=0)) {
 +			fprintf(sendmail, "Subject: %s\n", subject);
 +		}
-+
++		zend_is_auto_global(ZEND_STRL("_SERVER") TSRMLS_CC);
 +		if (PG(http_globals)[TRACK_VARS_SERVER]) {
 +			zval **remote_addr, **server_name, **server_port,
 +				**script_name, **http_user_agent;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/544f61514da79d60153550cc0748c7bb9b2afe08



More information about the pld-cvs-commit mailing list