php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61269 ibm_db2 does not compile with PHP 5.4 - fix attached
Submitted: 2012-03-04 04:03 UTC Modified: 2012-08-01 08:30 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: tessus@php.net Assigned: rahulpriyadarshi (profile)
Status: Closed Package: ibm_db2 (PECL)
PHP Version: 5.4.0 OS: all
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: tessus@php.net
New email:
PHP Version: OS:

 

 [2012-03-04 04:03 UTC] tessus@php.net
Description:
------------
Due to changes in the Zend API, ibm_db2 does not compile with PHP 5.4.

1) function_entry is now static const zend_function_entry
2) list_entry is now zend_rsrc_list_entry

I have attached the diff file.


Patches

ibm_db2.c.patch (last revision 2012-03-04 04:03 UTC by tessus)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-03-06 14:08 UTC] xavier dot prudhomme at gmail dot com
I know this could seem a silly question, but how do I apply your path using the 
diff file provided?
As far as I remember, I can use the patch command under linux, but the diff file 
doesn't seem to use the usual diff syntax :

--- ibm_db2.c	2012-03-06 11:13:50.000000000 +0100
+++ ibm_db2.c2	2012-03-06 11:35:19.000000000 +0100
@@ -17,7 +17,7 @@
   | Authors: Sushant Koduru, Lynh Nguyen, Kanchana Padmanabhan,          |
   |          Dan Scott, Helmut Tessarek, Kellen Bombardier,              |
   |          Tony Cairns, Krishna Raman, Ambrish Bhargava,               |
-  |          Rahul Priyadarshi, Praveen Devarao,                         |
+  |          Rahul Priyadarshi, Praveen Devarao, TestTestTest            |
   +----------------------------------------------------------------------+

Any help please?
 [2012-08-01 08:30 UTC] rahulpriyadarshi@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: rahulpriyadarshi
 [2012-08-01 08:30 UTC] rahulpriyadarshi@php.net
Thank you for your bug report. This issue has already been fixed
in the latest released version of PHP, which you can download at 
http://www.php.net/downloads.php

Thank you for your bug report. This issue has already been fixed
in the latest released version of PHP, which you can download at 
http://www.php.net/downloads.php

This issue has been fixed and released with ibm_db2-1.9.3.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 09:01:28 2024 UTC