Archived

This forum has been archived. Please start a new discussion on GitHub.

[ice-php] PHP 5.4 patch

Hi, I maintain the ice package for Fedora. Our current developement branch (what will become Fedora 17) is moving to php 5.4, the php maintainer (Remi Collet) was kind enough to provide me a patch to fix compilation of the php wrapper with PHP 5.4. It should be backward compatible with previous php releases (tested with php 5.3.x).

https://github.com/remicollet/remirepo/blob/5bffe46723937624ae26dc944b8afce4f25b4fa2/ice/ice-3.4.2-php54.patch

Comments

  • mes
    mes California
    Hi,

    Welcome to the forum, and thanks for the patch.

    Unfortunately, although this patch fixes the compilation errors, my testing with PHP 5.4.0RC4 shows that the Ice extension crashes at run time with a segmentation fault. I do not recommend including this patch in your Ice RPM for Fedora.

    Regards,
    Mark
  • Remi Collet noticed me yesterday, we will working on fixing this issue. I'll keep updating this thread as soon as we get new stuff.
  • mes
    mes California
    Hi,

    I've attached a patch for Ice 3.4.2 that corrects the compatibility issues with PHP 5.4 and allows our test suite to run without errors.

    Regards,
    Mark