public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/php] private-php86: * Wed May 9 2007 Joe Orton <jorton@redhat.com> 5.2.2-4
@ 2026-11-27 7:23 jorton
0 siblings, 0 replies; only message in thread
From: jorton @ 2026-11-27 7:23 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/php
Branch : private-php86
Commit : 695917a2533a18930573ea42bbe993edd0001a41
Author : jorton <jorton@fedoraproject.org>
Date : 2007-05-09T16:42:21+00:00
Stats : +48/-2 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/php/c/695917a2533a18930573ea42bbe993edd0001a41?branch=private-php86
Log:
* Wed May 9 2007 Joe Orton <jorton@redhat.com> 5.2.2-4
- fix php-pdo *_arg_force_ref global symbol abuse (#216125)
---
diff --git a/php-5.2.2-pdosym.patch b/php-5.2.2-pdosym.patch
new file mode 100644
index 0000000..1a9aca7
--- /dev/null
+++ b/php-5.2.2-pdosym.patch
@@ -0,0 +1,41 @@
+--- php-5.2.2/ext/pdo/pdo_stmt.c.pdosym
++++ php-5.2.2/ext/pdo/pdo_stmt.c
+@@ -37,38 +37,6 @@
+ #include "zend_interfaces.h"
+ #include "php_memory_streams.h"
+
+-#if COMPILE_DL_PDO
+-/* {{{ content from zend_arg_defs.c:
+- * since it is a .c file, it won't be installed for use by PECL extensions, so we include it here. */
+-ZEND_BEGIN_ARG_INFO(first_arg_force_ref, 0)
+- ZEND_ARG_PASS_INFO(1)
+-ZEND_END_ARG_INFO()
+-
+-
+-ZEND_BEGIN_ARG_INFO(second_arg_force_ref, 0)
+- ZEND_ARG_PASS_INFO(0)
+- ZEND_ARG_PASS_INFO(1)
+-ZEND_END_ARG_INFO()
+-
+-ZEND_BEGIN_ARG_INFO(third_arg_force_ref, 0)
+- ZEND_ARG_PASS_INFO(0)
+- ZEND_ARG_PASS_INFO(0)
+- ZEND_ARG_PASS_INFO(1)
+-ZEND_END_ARG_INFO()
+-
+-
+-ZEND_BEGIN_ARG_INFO(fourth_arg_force_ref, 0)
+- ZEND_ARG_PASS_INFO(0)
+- ZEND_ARG_PASS_INFO(0)
+- ZEND_ARG_PASS_INFO(0)
+- ZEND_ARG_PASS_INFO(1)
+-ZEND_END_ARG_INFO()
+-
+-ZEND_BEGIN_ARG_INFO(all_args_by_ref, 1)
+-ZEND_END_ARG_INFO()
+-/* }}} */
+-#endif
+-
+ #define PHP_STMT_GET_OBJ \
+ pdo_stmt_t *stmt = (pdo_stmt_t*)zend_object_store_get_object(getThis() TSRMLS_CC); \
+ if (!stmt->dbh) { \
diff --git a/php.spec b/php.spec
index 3d225de..dcbda11 100644
--- a/php.spec
+++ b/php.spec
@@ -6,7 +6,7 @@
Summary: The PHP HTML-embedded scripting language
Name: php
Version: 5.2.2
-Release: 3
+Release: 4
License: The PHP License v3.01
Group: Development/Languages
URL: http://www.php.net/
@@ -25,6 +25,7 @@ Patch8: php-5.2.0-includedir.patch
# Fixes for extension modules
Patch21: php-4.3.1-odbc.patch
Patch22: php-4.3.11-shutdown.patch
+Patch23: php-5.2.2-pdosym.patch
# Functional changes
Patch30: php-5.0.4-dlopen.patch
@@ -108,7 +109,7 @@ Summary: A module for PHP applications that use IMAP
Group: Development/Languages
Requires: php-common = %{version}-%{release}
Obsoletes: mod_php3-imap, stronghold-php-imap
-BuildRequires: krb5-devel, openssl-devel, uw-imap-devel
+BuildRequires: krb5-devel, openssl-devel, libc-client-devel
%description imap
The php-imap package contains a dynamic shared object (DSO) for the
@@ -298,6 +299,7 @@ support for using the DBA database abstraction layer to PHP.
%patch21 -p1 -b .odbc
%patch22 -p1 -b .shutdown
+%patch23 -p1 -b .pdosym
%patch30 -p1 -b .dlopen
%patch31 -p1 -b .easter
@@ -631,6 +633,9 @@ rm files.* macros.php
%files pdo -f files.pdo
%changelog
+* Wed May 9 2007 Joe Orton <jorton@redhat.com> 5.2.2-4
+- fix php-pdo *_arg_force_ref global symbol abuse (#216125)
+
* Tue May 8 2007 Joe Orton <jorton@redhat.com> 5.2.2-3
- rebuild against uw-imap-devel
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-27 7:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-27 7:23 [rpms/php] private-php86: * Wed May 9 2007 Joe Orton <jorton@redhat.com> 5.2.2-4 jorton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox