php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #64012 Make rsvg compilable for PHP >= 5.4
Submitted: 2013-01-17 17:43 UTC Modified: 2013-01-20 23:03 UTC
From: pm at datasphere dot ch Assigned: mgdm (profile)
Status: Closed Package: Compile Failure
PHP Version: 5.4.11 OS: linux (all)
Private report: No CVE-ID: None
 [2013-01-17 17:43 UTC] pm at datasphere dot ch
Description:
------------
There is a compilation error for rsvg on PHP 5.4:

.../php-pecl-rsvg-0.1.0/RSVG-0.1.0/rsvg.c: In function 'rsvg_object_new':
.../php-pecl-rsvg-0.1.0/RSVG-0.1.0/rsvg.c:458:44 error: 'zend_class_entry' has no member named 'default_properties'

Here is a patch directly inspired from https://bugs.php.net/bug.php?id=59731


Patches

php54 (last revision 2013-01-17 17:44 UTC by pm at datasphere dot ch)

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-01-17 17:57 UTC] pm at datasphere dot ch
Please note also that PECL/rsvg is not an option as a package for this bug's classification.
 [2013-01-17 20:26 UTC] johannes@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: mgdm
 [2013-01-20 23:03 UTC] mgdm@php.net
-Status: Assigned +Status: Closed
 [2013-01-20 23:03 UTC] mgdm@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

I've released version 0.1.1 which contains your patch. Thanks very much!
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun May 04 18:01:29 2025 UTC