[packages/php/PHP_5_2] rel 7; 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:55:28 CET 2014


commit 9af7358c8756624a289edca5285c9efb21df8788
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Mar 13 12:55:25 2014 +0100

    rel 7; 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 f1de37a..30bfc00 100644
--- a/php.spec
+++ b/php.spec
@@ -111,7 +111,7 @@ ERROR: You need to select at least one Apache SAPI to build shared modules.
 %define		magic_mime	/usr/share/misc/magic.mime
 %endif
 
-%define		rel		6
+%define		rel		7
 %define		orgname	php
 %define		ver_suffix 52
 %define		php_suffix %{!?with_default_php:%{ver_suffix}}
diff --git a/php-mail.patch b/php-mail.patch
index 5881c75..c394bac 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/9af7358c8756624a289edca5285c9efb21df8788



More information about the pld-cvs-commit mailing list