public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: jorton <jorton@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/php] private-php86: * Wed May  9 2007 Joe Orton <jorton@redhat.com> 5.2.2-4
Date: Fri, 27 Nov 2026 07:23:39 GMT	[thread overview]
Message-ID: <179576421991.1.1692253013972633697.rpms-php-695917a2533a@fedoraproject.org> (raw)

            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
 

                 reply	other threads:[~2026-11-27  7:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179576421991.1.1692253013972633697.rpms-php-695917a2533a@fedoraproject.org \
    --to=jorton@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox