|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57337 Don't build with PHP 5.2 (again)
Submitted: 2006-11-02 09:12 UTC Modified: 2006-11-02 09:40 UTC
From: Fedora at FamilleCollet dot com Assigned:
Status: Closed Package: pdflib (PECL)
PHP Version: 5_2 CVS-2006-11-02 OS: Fedora
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: Fedora at FamilleCollet dot com
New email:
PHP Version: OS:


 [2006-11-02 09:12 UTC] Fedora at FamilleCollet dot com
The latest version 5.1.0 use PHP_ME_MAPPING instead of PDF_ME_MAPPING (for latest changes : utf16_to_utf8 utf8_to_utf16)

Here the the patch i use to build againt lastest php.

--- pdflib-2.1.1/pdf7.c.orig    2006-11-02 15:04:41.000000000 +0100
+++ pdflib-2.1.1/pdf7.c 2006-11-02 15:05:08.000000000 +0100
@@ -58,8 +58,8 @@
        PDF_ME_MAPPING(open_pdi, pdf_open_pdi, NULL)
        PDF_ME_MAPPING(__construct, pdf_new, NULL)
        PDF_ME_MAPPING(delete, pdf_delete, NULL)
-       PHP_ME_MAPPING(utf16_to_utf8, pdf_utf16_to_utf8, NULL)
-       PHP_ME_MAPPING(utf8_to_utf16, pdf_utf8_to_utf16, NULL)
+       PDF_ME_MAPPING(utf16_to_utf8, pdf_utf16_to_utf8, NULL)
+       PDF_ME_MAPPING(utf8_to_utf16, pdf_utf8_to_utf16, NULL)
        {NULL, NULL, NULL}


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-11-02 09:13 UTC] Fedora at FamilleCollet dot com
Of course i mean the latest 2.1.1.
 [2006-11-02 09:40 UTC] rjs at pdflib dot com
Thank you for your bug report. This issue has been fixed
in the latest released version of the package, which you can download at

fixed in V2.1.2 of the PDFlib PECL package.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sat Dec 04 22:03:36 2021 UTC