Trouble Applying Seiler's Closure patch to 5.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



 Hi,

I'm trying to install PHP 5.3 (June 13th release) with Christian
Seiler's closure patch listed here:

http://www.christian-seiler.de/temp/closures-php-5-3.patch

The patch goes smoothly through zend.c, zend_API.c, zend_compile.c,
zend_compile.h, zend_execute.c, and zend_execute_API.c. But when it
reaches zend_globals.h, I get:

    patching file Zend/zend_globals.h
    Reversed (or previously applied) patch detected!  Assume -R? [n] n
    Apply anyway? [n] n
    Skipping patch.
    3 out of 3 hunks ignored -- saving rejects to file Zend/zend_globals.h.rej

Having it apply anyway doesn't go better, and in any case, I see a
number of failures from that point on:

    patching file Zend/zend_language_parser.y
    Hunk #1 FAILED at 145.
    [...]
    patching file Zend/zend_vm_def.h
    Hunk #1 succeeded at 971 (offset 17 lines).
    Hunk #2 FAILED at 1938.
    Hunk #3 FAILED at 1950.
    Hunk #4 succeeded at 4344 (offset 254 lines).
    2 out of 4 hunks FAILED -- saving rejects to file Zend/zend_vm_def.h.rej
    patching file Zend/zend_vm_execute.h
    Hunk #1 FAILED at 652.
    [...]
    Hunk #8 FAILED at 1107.
    Hunk #9 succeeded at 1403 (offset 130 lines).
    Hunk #10 FAILED at 2307.
    [etc,etc]

Obviously it's likely that the 5.3 codebase has been changed since
December -- does anyone know if there's an udated version of Seiler's
patch, or if not, have a general idea what the latest version of the
5.3 source is likely to work with the patch there?

Also open to other ideas/advice!

Thanks,

Weston

[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux