[packages/php/PHP_5_2] And more.

arekm arekm at pld-linux.org
Mon Jul 14 20:25:14 CEST 2025


commit 14d8d7e909b02b25ea106fc4f17a0573398eb316
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Jul 14 20:25:06 2025 +0200

    And more.

 curl.patch | 26 ++++++++++++++++++++++++++
 php.spec   |  4 +++-
 2 files changed, 29 insertions(+), 1 deletion(-)
---
diff --git a/php.spec b/php.spec
index 1c8887e..d925b77 100644
--- a/php.spec
+++ b/php.spec
@@ -112,7 +112,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	43
+%define		rel	45
 %define		orgname	php
 %define		ver_suffix 52
 %define		php_suffix %{!?with_default_php:%{ver_suffix}}
@@ -231,6 +231,7 @@ Patch81:	openssl.patch
 Patch82:	libxml2.patch
 Patch83:	readdir.patch
 Patch84:	fopencookie.patch
+Patch85:	curl.patch
 # CENTALT patches
 # Backport from 5.3.6
 Patch311:	php-5.3.6-bug-47435.patch
@@ -1996,6 +1997,7 @@ done
 %patch -P82 -p1
 %patch -P83 -p1
 %patch -P84 -p1
+%patch -P85 -p1
 
 # Bugfix backport from 5.3.6
 %patch -P311 -p1 -b .bug-47435
diff --git a/curl.patch b/curl.patch
new file mode 100644
index 0000000..a73d2ca
--- /dev/null
+++ b/curl.patch
@@ -0,0 +1,26 @@
+diff -ur php-5.2.17.org/ext/curl/interface.c php-5.2.17/ext/curl/interface.c
+--- php-5.2.17.org/ext/curl/interface.c	2025-07-14 19:41:23.264777178 +0200
++++ php-5.2.17/ext/curl/interface.c	2025-07-14 19:48:25.274022837 +0200
+@@ -1237,19 +1237,19 @@
+ 	dupch->cp = cp;
+ 	dupch->uses = 0;
+ 	if (ch->handlers->write->stream) {
+-		zval_add_ref(ch->handlers->write->stream);
++		zval_add_ref(&ch->handlers->write->stream);
+ 	}
+ 	dupch->handlers->write->stream = ch->handlers->write->stream;
+ 	dupch->handlers->write->method = ch->handlers->write->method;
+ 	dupch->handlers->write->type   = ch->handlers->write->type;
+ 	if (ch->handlers->read->stream) {
+-		zval_add_ref(ch->handlers->read->stream);
++		zval_add_ref(&ch->handlers->read->stream);
+ 	}
+ 	dupch->handlers->read->stream  = ch->handlers->read->stream;
+ 	dupch->handlers->read->method  = ch->handlers->read->method;
+ 	dupch->handlers->write_header->method = ch->handlers->write_header->method;
+ 	if (ch->handlers->write_header->stream) {
+-		zval_add_ref(ch->handlers->write_header->stream);
++		zval_add_ref(&ch->handlers->write_header->stream);
+ 	}
+ 	dupch->handlers->write_header->stream = ch->handlers->write_header->stream;
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/14d8d7e909b02b25ea106fc4f17a0573398eb316



More information about the pld-cvs-commit mailing list