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
 [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-2020 The PHP Group
All rights reserved.
Last updated: Sun Jan 26 20:01:25 2020 UTC