php.net |  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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
43 + 44 = ?
Subscribe to this entry?

 
 [2006-11-02 09:12 UTC] Fedora at FamilleCollet dot com
Description:
------------
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}
 };
 


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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
http://pecl.php.net/get/pdflib

fixed in V2.1.2 of the PDFlib PECL package.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 13:01:28 2024 UTC